Input: tca6416-keypad - suspend/resume wakeup support
authorMagnus Damm <damm@opensource.se>
Wed, 16 Mar 2011 05:32:39 +0000 (22:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 16 Mar 2011 06:18:28 +0000 (23:18 -0700)
commit64dcddd888998f7db9929e19fc063e75e3ea21f5
tree3005487865a6fe5eca16c2e00a8436f8507d9a19
parent4c75de32eb9fcaa14925e2e444748f8b71e4f6fc
Input: tca6416-keypad - suspend/resume wakeup support

Extend the tca6416 driver to use enable_irq_wake() and disable_irq_wake()
in the suspend/resume hooks.

This makes it possible to wake up from suspend-to-ram using a tca6416 key
on the sh7372 mackerel board.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/tca6416-keypad.c