Commit c7aa374
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>1 parent 2bbe17a commit c7aa374
1 file changed
+10
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1746 | 1746 | | |
1747 | 1747 | | |
1748 | 1748 | | |
| 1749 | + | |
| 1750 | + | |
| 1751 | + | |
| 1752 | + | |
| 1753 | + | |
| 1754 | + | |
| 1755 | + | |
1749 | 1756 | | |
1750 | 1757 | | |
1751 | 1758 | | |
| |||
1761 | 1768 | | |
1762 | 1769 | | |
1763 | 1770 | | |
| 1771 | + | |
| 1772 | + | |
1764 | 1773 | | |
1765 | 1774 | | |
1766 | 1775 | | |
| |||
2154 | 2163 | | |
2155 | 2164 | | |
2156 | 2165 | | |
| 2166 | + | |
2157 | 2167 | | |
2158 | 2168 | | |
2159 | 2169 | | |
| |||
0 commit comments