gpio/omap: (re)fix wakeups on level-triggered GPIOs
authorKevin Hilman <khilman@ti.com>
Thu, 17 May 2012 23:42:16 +0000 (16:42 -0700)
committerKevin Hilman <khilman@ti.com>
Thu, 17 May 2012 23:51:44 +0000 (16:51 -0700)
commit 1b1287032 (gpio/omap: fix missing check in *_runtime_suspend())
broke wakeups on level-triggered GPIOs by adding the enabled
non-wakeup GPIO check before the workaround that enables wakeups
on level-triggered IRQs, effectively disabling that workaround.

To fix, move the enabled non-wakeup GPIO check after the
level-triggered IRQ workaround.

Reported-by: Tony Lindgren <tony@atomide.com>
Cc: Santosh Shilimkar <santosh.shilimkar@ti.com>
Cc: Tarun Kanti DebBarma <tarun.kanti@ti.com>
Signed-off-by: Kevin Hilman <khilman@ti.com>

No differences found