aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/cdns3/cdns3-gadget.c
diff options
context:
space:
mode:
authorMichal Pecio <[email protected]>2025-03-11 15:45:51 +0000
committerGreg Kroah-Hartman <[email protected]>2025-03-11 16:58:43 +0000
commit28a76fcc4c85dd39633fb96edb643c91820133e3 (patch)
treecf7635260f4f8469ec1156954051adceed793c78 /drivers/usb/cdns3/cdns3-gadget.c
parentusb: xhci: Don't change the status of stalled TDs on failed Stop EP (diff)
downloadkernel-28a76fcc4c85dd39633fb96edb643c91820133e3.tar.gz
kernel-28a76fcc4c85dd39633fb96edb643c91820133e3.zip
usb: xhci: Avoid Stop Endpoint retry loop if the endpoint seems Running
Nothing prevents a broken HC from claiming that an endpoint is Running and repeatedly rejecting Stop Endpoint with Context State Error. Avoid infinite retries and give back cancelled TDs. No such cases known so far, but HCs have bugs. Signed-off-by: Michal Pecio <[email protected]> Signed-off-by: Mathias Nyman <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-gadget.c')
0 files changed, 0 insertions, 0 deletions