commit | 6f64f0ae230f9e8f68c5d9bf56ffee438fa60a6a | [log] [tgz] |
---|---|---|
author | Hector Martin <marcan@marcan.st> | Sun Oct 29 15:37:40 2023 +0900 |
committer | Marek Vasut <marex@denx.de> | Fri Dec 01 14:06:04 2023 +0100 |
tree | 60769d4e16b58c378708e0fa205b7b938c9d408f | |
parent | 2526cd993272966606cb64b1898343e6963fb1d9 [diff] |
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: Hector Martin <marcan@marcan.st> Reviewed-by: Marek Vasut <marex@denx.de>