Input: pxa27x_keypad keep clock on as wakeup source
authorChao Xie <chao.xie@marvell.com>
Sun, 1 Apr 2012 02:08:01 +0000 (10:08 +0800)
committerHaojian Zhuang <haojian.zhuang@gmail.com>
Fri, 27 Apr 2012 08:48:09 +0000 (16:48 +0800)
commit6ce34a5fb4955fac1eebe080e1c2784bc8710449
treed8f4d6a8111a931c924a8e822db0b56dfe0322be
parent66f75a5d028beaf67c931435fdc3e7823125730c
Input: pxa27x_keypad keep clock on as wakeup source

When the keypad is used as wake up source, the clock can not
be disabled. Or it can not detect key pressing.
If the keypad is used as wake up source, when resume back,
do not enable the clock and configure it again because the
register content is retained.

Signed-off-by: Chao Xie <chao.xie@marvell.com>
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
drivers/input/keyboard/pxa27x_keypad.c