aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorDexuan Cui <[email protected]>2019-11-19 23:14:56 -0800
committerSasha Levin <[email protected]>2019-11-21 20:10:45 -0500
commitaf13f9ed6f9aa6801d020c48aeb19dca9f0d4f97 (patch)
treea8b1784bd720573612cb60dbdd6daa51987e9e94 /lib/memory-notifier-error-inject.c
parent25bd2b2f1f05347a4cd633138d0e4c2fd5788359 (diff)
HID: hyperv: Add the support of hibernation
During the suspend process and resume process, if there is any mouse event, there is a small chance the suspend and the resume process can be aborted because of mousevsc_on_receive() -> pm_wakeup_hard_event(). This behavior can be avoided by disabling the Hyper-V mouse device as a wakeup source: echo disabled > /sys/bus/vmbus/drivers/hid_hyperv/XXX/power/wakeup (XXX is the device's GUID). Signed-off-by: Dexuan Cui <[email protected]> Acked-by: Jiri Kosina <[email protected]> Signed-off-by: Sasha Levin <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions