Loading
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: a23f3497 ("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>