HID: hyperv: register as a wakeup source
authorDexuan Cui <decui@microsoft.com>
Fri, 1 Aug 2014 14:26:41 +0000 (07:26 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 4 Aug 2014 09:20:20 +0000 (11:20 +0200)
commitf1210455e78a610c7b316389b31c162c371d888c
tree16965b609a3e19cc618c7ca36c1fa087a4aa3d46
parent4c2f503aade27ebf12f5733a583d711f99dc5ec1
HID: hyperv: register as a wakeup source

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

This addresses part of https://bugzilla.redhat.com/show_bug.cgi?id=1086100

Signed-off-by: Dexuan Cui <decui@microsoft.com>
Signed-off-by: K. Y. Srinivasan <kys@microsoft.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-hyperv.c