summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-10-29 11:18:28 +0100
committerJohan Hovold <johan@kernel.org>2026-10-29 16:26:41 +0100
commitab89a9dab02d9553eb0cc27fd3e4a4998acbc8e9 (patch)
tree62b47e8d33d64bd132ac06666b2e45f00ba596ba /tools/perf/scripts/python/task-analyzer.py
parentf184ae84a5d19554d980a918a9c8baaef87ac301 (diff)
USB: serial: garmin_gps: fix deadlock on reset request
The garmin_gps driver has a reset feature that is supposed to reset the device when writing a private reset request packet. The reset is however done synchronously from the write() callback (and without holding the required device lock) which leads to a deadlock in the line discipline when hanging up the port as part of disconnect. Switch to using the asynchronous reset interface while dropping the redundant and synchronous stopping of the interrupt urb (write() callbacks are supposed to be atomic and USB core, USB serial core and the driver itself will unlink and kill all URBs during disconnect). Fixes: 1da177e4c3f4 ("Linux-2.6.12-rc2") Reported-by: Josef Bacik <josef@toxicpanda.com> Link: https://lore.kernel.org/2026102733-prayer-drainer-56f3@gregkh Cc: stable@vger.kernel.org Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions