diff options
| author | 2026-09-14 15:52:56 -0700 | |
|---|---|---|
| committer | 2026-10-16 12:02:06 +0200 | |
| commit | 0ef3036c68979194fdee77a3a825fb94ef307a54 (patch) | |
| tree | 353d529dc16167ed362b6d4c9a18d7d138efb56e /scripts/Makefile.thinlto | |
| parent | HID: hid-lenovo-go-s: Bound stale reply window before reusing send_cmd_complete (diff) | |
HID: hid-lenovo-go-s: Prevent deadlock if device removed during setup
hid_gos_cfg_remove() calls a mutex before canceling delayed work. That
delayed work function calls mcu_property_out(), which holds the same mutex.
Prevent deadlock my removing the mutex prior to stopping the work.
Additionally, since cancel_delayed_work has the potential to re-arm,
switch to disable_delayed_work.
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 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
