commit | 2526cd993272966606cb64b1898343e6963fb1d9 | [log] [tgz] |
---|---|---|
author | Hector Martin <marcan@marcan.st> | Sun Oct 29 15:37:39 2023 +0900 |
committer | Marek Vasut <marex@denx.de> | Fri Dec 01 14:06:04 2023 +0100 |
tree | ca195cf3fc3cec64b229f0822b6e117d4767a02a | |
parent | 8d1e03f984c7467d7c8883f15dea14b2f8b4c0e2 [diff] |
usb: xhci: Better error handling in abort_td() If the xHC has a problem with our STOP ENDPOINT command, it is likely to return a completion directly instead of first a transfer event for the in-progress transfer. Handle that more gracefully. We still BUG() on the error code, but at least we don't end up timing out on the event and ending up with unexpected event errors. Signed-off-by: Hector Martin <marcan@marcan.st> Reviewed-by: Marek Vasut <marex@denx.de>