diff options
| author | Matthew Schwartz <matthew.schwartz@linux.dev> | 2026-04-20 21:15:22 +0300 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-04-28 19:34:21 +0300 |
| commit | 3524900cc571bd922a1a6b6a0eb0c2705cdb3559 (patch) | |
| tree | a6a513698571ff0f442e065f49056c18415e01c0 /tools/lib/python | |
| parent | 55ce1858848132ed074fe907f00b5ce1ccab0ce1 (diff) | |
| download | linux-3524900cc571bd922a1a6b6a0eb0c2705cdb3559.tar.xz | |
HID: hid-lenovo-go-s: restore OS_TYPE after resume from s2idle
The controller MCU does not persist OS_TYPE across power cycles. During
s2idle resume, the USB device may be power-cycled, causing the OS_TYPE
setting to revert to the default Windows value.
Add a reset_resume callback so that this is correctly restored after
resume.
Fixes: a23f3497bf208c59ad ("HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver")
Reviewed-by: Derek J. Clark <derekjohn.clark@gmail.com>
Signed-off-by: Matthew Schwartz <matthew.schwartz@linux.dev>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
