OMAP: GPIO: Avoid generating extra IRQs
authorEero Nurkkala <ext-eero.nurkkala@nokia.com>
Fri, 28 Aug 2009 17:51:36 +0000 (10:51 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 28 Aug 2009 17:51:36 +0000 (10:51 -0700)
commit82dbb9d39f58e3d12b5903764901df5fec759daf
treea08cd7f70a69e70df94e37fc1df6ea062a6ec61c
parent79e44c952cec025295b3f0fd0ff2a875689b98c4
OMAP: GPIO: Avoid generating extra IRQs

It is possible for GPIO IRQ lines configured with
falling edge triggering only to get IRQs at the
rising edge upon the exit of offmode. And vice
versa. Prevent such IRQs to arrive by generating
the IRQ obeying the detection scheme.

Signed-off-by: Eero Nurkkala <ext-eero.nurkkala@nokia.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c