android_kernel_samsung_msm8976/arch/arm/mach-shmobile
Geert Uytterhoeven 77287a2cab ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances
commit b0ddb319db3d7a1943445f0de0a45c07a7f3457a upstream.

The sh73a0 INTC can't mask interrupts properly most likely due to a
hardware bug. Set the .control_parent flag to delegate masking to the
parent interrupt controller, like was already done for irqpin1.

Without this, accessing the three-axis digital accelerometer ADXL345
on kzm9g through /dev/input/event1 causes an interrupt storm, which
requires a power-cycle to recover from.

This was inspired by a patch for arch/arm/boot/dts/sh73a0.dtsi from
Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Fixes: 341eb5465f ("ARM: shmobile: INTC External IRQ pin driver on sh73a0")
Signed-off-by: Simon Horman <horms+renesas@verge.net.au>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-01-27 07:52:33 -08:00
..
include/mach
board-ag5evm.c
board-ap4evb.c
board-ape6evm.c
board-armadillo800eva.c ARM: shmobile: armadillo: Fix coherent DMA mask 2014-01-15 15:28:51 -08:00
board-bockw.c
board-bonito.c
board-kota2.c
board-kzm9d.c
board-kzm9g-reference.c
board-kzm9g.c ARM: shmobile: kzm9g: Fix coherent DMA mask 2014-01-15 15:28:51 -08:00
board-lager.c
board-mackerel.c ARM: shmobile: mackerel: Fix coherent DMA mask 2014-01-15 15:28:51 -08:00
board-marzen-reference.c
board-marzen.c
clock-emev2.c
clock-r8a73a4.c
clock-r8a7740.c
clock-r8a7778.c
clock-r8a7779.c
clock-r8a7790.c
clock-sh73a0.c
clock-sh7372.c
clock.c
console.c
cpuidle.c
entry-intc.S
headsmp-scu.S
headsmp.S
intc-r8a7740.c
intc-r8a7779.c
intc-sh73a0.c
intc-sh7372.c
Kconfig
Makefile
Makefile.boot
platsmp.c
pm-r8a7740.c
pm-r8a7779.c
pm-rmobile.c
pm-sh73a0.c
pm-sh7372.c
setup-emev2.c ARM: shmobile: emev2 GIO3 resource fix 2013-07-21 18:21:35 -07:00
setup-r8a73a4.c ARM: shmobile: r8a73a4: Fix resources for SCIFB0 2013-07-21 18:21:35 -07:00
setup-r8a7740.c
setup-r8a7778.c
setup-r8a7779.c
setup-r8a7790.c
setup-sh73a0.c ARM: shmobile: sh73a0 legacy: Set .control_parent for all irqpin instances 2015-01-27 07:52:33 -08:00
setup-sh7372.c
sh-gpio.h
sleep-sh7372.S
smp-emev2.c
smp-r8a7779.c
smp-sh73a0.c
suspend.c
timer.c