]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
OMAP2/3: GPIO: do not attempt to wake-enable
authorKevin Hilman <khilman@deeprootsystems.com>
Fri, 3 Apr 2009 22:53:18 +0000 (15:53 -0700)
committerTony Lindgren <tony@atomide.com>
Fri, 3 Apr 2009 22:53:18 +0000 (15:53 -0700)
commit69b9d0a56861e424cdd2ff665e7b31775b149768
treeedd4536f7615b0bd65cb60ee555d52c08022dcf4
parenta797331d83d4ee6e481953311d319ddc3bd5c741
OMAP2/3: GPIO: do not attempt to wake-enable

The GPIO IRQ enable/disable path attempts to also enable IRQ wake
support for the parent GPIO bank IRQ as well.  However, since there is
no 'set_wake' hook for the bank IRQs, these calls will always fail.
Also, since the enable will fail on the suspend path, the disable on
the resume path will trigger unbalanced enable/disable warnings.

This was discovered in the suspend/resume path on OMAP3/Beagle using
the gpio-keys driver which disables/re-enables GPIO IRQ wakeups in the
suspend/resume path.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/gpio.c