]> git.karo-electronics.de Git - linux-beck.git/commit
gpio/mxc: add chained_irq_enter/exit() to mx3_gpio_irq_handler()
authorShawn Guo <shawn.guo@linaro.org>
Wed, 21 Sep 2011 13:24:04 +0000 (21:24 +0800)
committerGrant Likely <grant.likely@secretlab.ca>
Wed, 21 Sep 2011 16:26:42 +0000 (10:26 -0600)
commit0e44b6eccfcb0b2da65b0e9eddd5d8b4eac5d8df
tree7bc3e9d54c7e35e8ce43852f296708d5a7419d72
parent479a0c7eee68243ad9915a9ccc217a35c4e5e0e2
gpio/mxc: add chained_irq_enter/exit() to mx3_gpio_irq_handler()

The mx3_gpio_irq_handler() is also called on imx6q which has GIC as
the primary interrupt controller.  As GIC implements the fasteoi flow
control, we need to add chained_irq_enter/exit() to
mx3_gpio_irq_handler() for signaling EOI, otherwise system will hang
whenever there is a gpio irq triggered.

v2: use chained_irq_{enter,exit}()

Signed-off-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
drivers/gpio/gpio-mxc.c