input: sh_keysc: use enable/disable_irq_wake()
authorMagnus Damm <damm@igel.co.jp>
Wed, 1 Apr 2009 14:39:20 +0000 (14:39 +0000)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 2 Apr 2009 02:20:43 +0000 (11:20 +0900)
commit4ba50df685e85b9d912a290d9614ffbeb4d9f060
treea09420574539613254621ebf33dd59e2fb212163
parent2dcec7a988a1895540460a0bf5603bab63d5a3ed
input: sh_keysc: use enable/disable_irq_wake()

Modify the sh_keysc driver to use enable/disable_irq_wake()
during suspend and resume. These functions are used to enable
the sh_keysc interrupt in the interrupt controller so the
keypad can be used to wakeup the system from suspend.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/input/keyboard/sh_keysc.c