diff options
| author | Derek J. Clark <derekjohn.clark@gmail.com> | 2026-09-14 15:52:59 -0700 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-10-16 12:02:06 +0200 |
| commit | e69b64d3d75eb10177f75d3d4947e032cb46eeb9 (patch) | |
| tree | 032ee06515ccbaa6a0f024b228595e63e923a8e1 /tools/perf/scripts/python | |
| parent | 81e8c0bb3831fb84ef44417bba1b52333d0580a9 (diff) | |
HID: hid-lenovo-go-s: Add suspend function and gate access under bool.
Currently a device can suspend while delayed work is pending or
executing. Cancel delayed work if it was pending and restart it if it
hasn't run yet. Gate access to show/store functions behind a bool to
prevent access prior to cfg_setup() being completed.
Fixes: a23f3497bf208c59ad ("HID: hid-lenovo-go-s: Add Lenovo Legion Go S Series HID Driver")
Cc: stable@vger.kernel.org
Signed-off-by: Derek J. Clark <derekjohn.clark@gmail.com>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions
