Re: [PATCH v2 2/8] usb: xhci: Better error handling in abort_td()

2023-10-29 Thread Marek Vasut
On 10/29/23 07:37, Hector Martin wrote: 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

[PATCH v2 2/8] usb: xhci: Better error handling in abort_td()

2023-10-29 Thread Hector Martin
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