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

Marek Vasut marex at denx.de
Fri Oct 27 02:52:15 CEST 2023


On 10/27/23 01:16, 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.
> 
> Right now 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 at marcan.st>

I'll defer the rest of the review to Bin , he just knows better when it 
comes to xHCI . Please ping me if things are stuck for too long however.


More information about the U-Boot mailing list