diff options
author | Rabin Vincent <rabin.vincent@stericsson.com> | 2010-10-14 10:38:03 +0530 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2011-03-14 14:05:15 +0100 |
commit | 33b744b35189baaa260f526cf117392095331843 (patch) | |
tree | 009bb385065b80e385cc040c998bc08280c38343 /arch/arm/plat-nomadik/include | |
parent | c84c7c08e320acfd10a0b7e55dbb0bc819b6d284 (diff) | |
download | kernel_samsung_smdk4412-33b744b35189baaa260f526cf117392095331843.zip kernel_samsung_smdk4412-33b744b35189baaa260f526cf117392095331843.tar.gz kernel_samsung_smdk4412-33b744b35189baaa260f526cf117392095331843.tar.bz2 |
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>
Diffstat (limited to 'arch/arm/plat-nomadik/include')
-rw-r--r-- | arch/arm/plat-nomadik/include/plat/gpio.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/plat-nomadik/include/plat/gpio.h b/arch/arm/plat-nomadik/include/plat/gpio.h index d745f3a..d108a32 100644 --- a/arch/arm/plat-nomadik/include/plat/gpio.h +++ b/arch/arm/plat-nomadik/include/plat/gpio.h @@ -83,6 +83,7 @@ struct nmk_gpio_platform_data { int first_gpio; int first_irq; int num_gpio; + u32 (*get_secondary_status)(unsigned int bank); }; #endif /* __ASM_PLAT_GPIO_H */ |