Input: hyperv-keyboard - register as a wakeup source
authorDexuan Cui <decui@microsoft.com>
Wed, 6 Aug 2014 20:33:54 +0000 (13:33 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 6 Aug 2014 21:10:06 +0000 (14:10 -0700)
commit62238f3aadc9bc56da70100e19ec61b9f8d72a5f
treebca445a27b9a4f75d53fbafc7f145278b3328e4c
parente179d5fa8d6dd0df62bc7ba2a6ee777f7d1142b5
Input: hyperv-keyboard - register as a wakeup source

With this patch, we can press a key to wake up the VM after the VM executes
"echo freeze > /sys/power/state".

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/serio/hyperv-keyboard.c