diff options
author | Dexuan Cui <decui@microsoft.com> | 2020-01-06 14:40:44 -0800 |
---|---|---|
committer | Sasha Levin <sashal@kernel.org> | 2020-01-25 16:52:11 -0500 |
commit | e2379b30324ca5ba808f16cb3d2504349264912f (patch) | |
tree | f522ac9685fccc52077293127330f6a43c396dff /drivers/usb/cdns3/cdns3-imx.c | |
parent | d33c240d47dab4fd15123d9e73fc8810cbc6ed6a (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/usb/cdns3/cdns3-imx.c')
0 files changed, 0 insertions, 0 deletions