summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/stackcollapse.py
diff options
context:
space:
mode:
authorJohan Hovold <johan@kernel.org>2026-06-23 17:08:16 +0200
committerJohan Hovold <johan@kernel.org>2026-07-13 10:09:18 +0200
commit54ad7212195812e76bf33f561009a8e025bbfbd1 (patch)
treea0595b523c1dbbbcdce29c42a2b8312e3ddd63f7 /tools/perf/scripts/python/stackcollapse.py
parent2ed12514074d06e19fca473eb7e24e9245393db2 (diff)
USB: serial: digi_acceleport: fix port registration order
The driver submits the read urbs for all ports when the first port is opened, which could happen before the other ports have been probed and their private data set up. If such an urb completes before the port has been probed, the completion handler will not resubmit it, thus preventing any further reads. Fix the ordering issue by not submitting the port read urbs until the port is opened. This also avoids wasting resources (e.g. power) when ports are not in use. Note that the port write urbs are already stopped on close (unless unbinding, but they are also stopped by core on disconnect). Fixes: fb44ff854e14 ("USB: digi_acceleport: fix port-data memory leak") Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions