]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit5a8f47421a19c8f6fec6cd66874e7920158d019d
treea09420574539613254621ebf33dd59e2fb212163
parente4ea5fde840bab7c38c8e26b9ac127ccc7d0436b
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