diff options
author | Blaž Hrastnik <blaz@mxxn.io> | 2020-12-19 13:47:41 +0900 |
---|---|---|
committer | Jiri Kosina <jkosina@suse.cz> | 2021-01-26 11:09:06 +0100 |
commit | c7aa374e0000daa89201fc29912b60081b269339 (patch) | |
tree | 8608937eb05d58fb5954456332f587e869a8413c /drivers/hid/hid-wiimote-modules.c | |
parent | 2bbe17ae87938ca44756741ec77e3be76a4a0ea0 (diff) |
HID: multitouch: Set to high latency mode on suspend.
Per Windows Precision Touchpad guidelines:
> The latency mode feature report is sent by the host to a Windows
> Precision Touchpad to indicate when high latency is desirable for
> power savings and, conversely, when normal latency is desired for
> operation.
>
> For USB-connected Windows Precision Touchpads, this enables the device
> to disambiguate between being suspended for inactivity (runtime IDLE)
> and being suspended because the system is entering S3 or Connected
> Standby.
The current implementation would set the latency to normal on device initialization,
but we didn't set the device to high latency on suspend.
Signed-off-by: Blaž Hrastnik <blaz@mxxn.io>
Acked-by: Benjamin Tissoires <benjamin.tissoires@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid/hid-wiimote-modules.c')
0 files changed, 0 insertions, 0 deletions