plat-nomadik: support secondary GPIO interrupts
commit33b744b35189baaa260f526cf117392095331843
authorRabin Vincent <rabin.vincent@stericsson.com>
Thu, 14 Oct 2010 05:08:03 +0000 (14 10:38 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 14 Mar 2011 13:05:15 +0000 (14 14:05 +0100)
tree009bb385065b80e385cc040c998bc08280c38343
parentc84c7c08e320acfd10a0b7e55dbb0bc819b6d284
plat-nomadik: support secondary GPIO interrupts

When GPIOs wake up the system from sleep mode, the normal GPIO interrupt
handler does not hit and the normal interrupt status register does not
contain the status. Instead the secondary GPIO handler does, and the
interrupt status needs to be retrieved from the wakeup status saved by
the suspend/resume code.

Signed-off-by: Rabin Vincent <rabin.vincent@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
arch/arm/plat-nomadik/gpio.c
arch/arm/plat-nomadik/include/plat/gpio.h