]> git.baikalelectronics.ru Git - kernel.git/commit
Input: sh_keysc - implement runtime PM support
authorMagnus Damm <damm@opensource.se>
Thu, 28 Apr 2011 16:32:44 +0000 (09:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 28 Apr 2011 16:36:43 +0000 (09:36 -0700)
commit76659c91ec616243570db0b20388b380b86ac04a
tree90cde4dc7ed09a55316aa471c46bd44c8bcdcf7d
parent18545fbef6ca3d23ecaae8a82eb72096ae8fc3af
Input: sh_keysc - implement runtime PM support

Convert the KEYSC driver from MSTP bit control through a magic clock
string to making use of Runtime PM.

Also, update the system suspend/resume callbacks to drop the Runtime
PM reference in the case of wakeup disabled.

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