summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-sqlite.py
diff options
context:
space:
mode:
authorMyeonghun Pak <mhun512@gmail.com>2026-11-09 23:30:01 -0500
committerJiri Kosina <jkosina@suse.com>2026-11-19 21:27:39 +0100
commit348597b22005a8f20d267cdcc503a41dcc658acf (patch)
tree623e59795701f607719d8aac2a6b658f5a34b131 /tools/perf/scripts/python/export-to-sqlite.py
parentcc8d022e8679e34b4892fa6c0a3fa2db917a6283 (diff)
HID: magicmouse: disable the multitouch work on removal
During USB runtime reset-resume, usbhid can call magicmouse_reset_resume() without serialization against HID driver unbind. The USB interface remains bound to usbhid, so this callback can queue msc->work after magicmouse_remove() cancels it. The delayed work can then run after devres frees msc. Use disable_delayed_work_sync() to drain the work and reject later queueing. Probe initializes fresh work on rebind. Found by a static analysis tool under development. Fixes: 4253fe22b137 ("HID: magicmouse: re-enable multitouch after reset-resume") Co-developed-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Ijae Kim <ae878000@gmail.com> Signed-off-by: Myeonghun Pak <mhun512@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions