Input: imx_keypad - add pm suspend and resume support
authorHui Wang <jason77.wang@gmail.com>
Thu, 13 Oct 2011 04:11:16 +0000 (21:11 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 13 Oct 2011 04:13:16 +0000 (21:13 -0700)
commit81e8f2bc82cd591a749c0cc5694f57676db749ae
tree1b1939b610b9c65638cb9092dda8f1597ab64cba
parent05be8b81aafd4f95106a91ff3fd8581fa984fad9
Input: imx_keypad - add pm suspend and resume support

The imx_keypad driver was indicating that it was wakeup capable in
imx_keypad_probe(), but it didn't implement suspend or resume methods.

According to the i.MX series MCU Reference Manual, the kpp (keypad
port) is a major wake up source which can detect any key press even
in low power mode and even when there is no clock.

Signed-off-by: Hui Wang <jason77.wang@gmail.com>
Reviewed-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
drivers/input/keyboard/imx_keypad.c