ARM: pxa: fix gpio wakeup setting
authorRobert Jarzmik <robert.jarzmik@free.fr>
Sun, 22 Apr 2012 11:37:24 +0000 (13:37 +0200)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 27 Apr 2012 02:46:45 +0000 (10:46 +0800)
commitb95ace54a23e2f8ebb032744cebb17c9f43bf651
tree7c7053a33426848bd27edabc977b7d5cfd1b84a7
parent66f75a5d028beaf67c931435fdc3e7823125730c
ARM: pxa: fix gpio wakeup setting

In 3.3, gpio wakeup setting was broken. The call
enable_irq_wake() didn't set up the PXA gpio registers
(PWER, ...) anymore.

Fix it at least for pxa27x. The driver doesn't seem to be
used in pxa25x (weird ...), and the fix doesn't extend to
pxa3xx and pxa95x (which don't have a gpio_set_wake()
available).

Signed-off-by: Robert Jarzmik <robert.jarzmik@free.fr>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
arch/arm/mach-pxa/pxa27x.c
drivers/gpio/gpio-pxa.c
include/linux/gpio-pxa.h