Skip to content
Commit 6f64f0ae authored by Hector Martin's avatar Hector Martin Committed by Marek Vasut
Browse files

usb: xhci: Allow context state errors when halting an endpoint



There is a race where an endpoint may halt by itself while we are trying
to halt it, which results in a context state error. See xHCI 4.6.9 which
mentions this case.

This also avoids BUGging when we attempt to stop an endpoint which was
already stopped to begin with, which is probably a bug elsewhere but
not a good reason to crash.

Signed-off-by: default avatarHector Martin <marcan@marcan.st>
Reviewed-by: default avatarMarek Vasut <marex@denx.de>
parent 2526cd99
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment