]> 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>
Wed, 18 Mar 2009 22:07:46 +0000 (15:07 -0700)
committerTony Lindgren <tony@atomide.com>
Thu, 19 Mar 2009 16:55:21 +0000 (09:55 -0700)
commitee4645b252977cafe56c1e3b45a6abc542bd573a
treec2c7b6c5f5f4f0a73ee7a979f9a90329d7f6f087
parentc1801bba43c9fbeb10f67b9a48ce5dbd8a9d2d73
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