diff options
| author | Derek J. Clark <derekjohn.clark@gmail.com> | 2026-09-14 15:52:56 -0700 |
|---|---|---|
| committer | Jiri Kosina <jkosina@suse.com> | 2026-10-16 12:02:06 +0200 |
| commit | 0ef3036c68979194fdee77a3a825fb94ef307a54 (patch) | |
| tree | 353d529dc16167ed362b6d4c9a18d7d138efb56e /tools/perf/scripts/python/stackcollapse.py | |
| parent | 6224755416e627badf69b330afec9ac6b85e5098 (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 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions
