]> git.baikalelectronics.ru Git - kernel.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)
commitc1ef35f3e62778a21fcecce23e17be3ab65a8928
tree7bc3e9d54c7e35e8ce43852f296708d5a7419d72
parentb5cab38dc5672a9b07ab63841c2645da5223634a
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