summaryrefslogtreecommitdiffstats
path: root/drivers/video/fbdev/hyperv_fb.c
diff options
context:
space:
mode:
authorDexuan Cui <decui@microsoft.com>2020-01-06 14:40:44 -0800
committerSasha Levin <sashal@kernel.org>2020-01-25 16:52:11 -0500
commite2379b30324ca5ba808f16cb3d2504349264912f (patch)
treef522ac9685fccc52077293127330f6a43c396dff /drivers/video/fbdev/hyperv_fb.c
parentd33c240d47dab4fd15123d9e73fc8810cbc6ed6a (diff)
Input: hyperv-keyboard: Add the support of hibernation
Add suspend() and resume() functions so the Hyper-V virtual keyboard can participate in VM hibernation. Note that the keyboard is a "wakeup" device that could abort an in-progress hibernation if there is keyboard event. No attempt is made to suppress this behavior. If desired, a sysadmin can disable the keyboard as a wakeup device using standard mechanisms such as: echo disabled > /sys/bus/vmbus/drivers/hyperv_keyboard/XXX/power/wakeup (where XXX is the device's GUID) Reviewed-by: Michael Kelley <mikelley@microsoft.com> Signed-off-by: Dexuan Cui <decui@microsoft.com> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/video/fbdev/hyperv_fb.c')
0 files changed, 0 insertions, 0 deletions