summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/task-analyzer.py
diff options
context:
space:
mode:
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>2026-10-21 00:37:56 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2026-10-29 11:09:29 +0100
commitaf91c6322e633504aa45de278f5d520f39d127be (patch)
treeb46a3c38441cc8ff7ede94b3e3e2b99fddd5907d /tools/perf/scripts/python/task-analyzer.py
parent5eb11b1647b0534b3a61a21473d77ebf4ffbed7c (diff)
usb: dwc3: gadget: Track a timed out End Transfer
If an End Transfer command with CMDIOC times out, the driver clears the resource index but keeps DWC3_EP_TRANSFER_STARTED without setting DWC3_EP_END_TRANSFER_PENDING. The command is still outstanding, but a later stop issues another End Transfer with resource index 0, and the next Start Transfer fails with "No Resource". Mark the timed out End Transfer as pending so that no other command is issued to the endpoint until it completes. For any other failure, there is no outstanding command, so clear DWC3_EP_TRANSFER_STARTED. Fixes: e192cc7b5239 ("usb: dwc3: gadget: move cmd_endtransfer to extra function") Cc: stable <stable@kernel.org> Reported-by: Selvarasu Ganesan <selvarasu.g@samsung.com> Closes: https://lore.kernel.org/linux-usb/3fdda532-8181-48e9-b58d-cad7289408e7@samsung.com/ Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://patch.msgid.link/5815c41a7e7923edb114741f29697cf0161f523c.1792542945.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions