Skip to content
Snippets Groups Projects
Commit 222d6dff authored by Anatolij Gustschin's avatar Anatolij Gustschin Committed by Remy Bohmer
Browse files

usb: fix for USB_ST_STALLED status reporting in ehci_submit_async()


Checking the status field of the qTD token in the current code
do not take into acount cases where endpoint stall (halted) bit
is set together with XactErr status bit. As a result clearing
stall on an endpoint won't be done if this status bit was also
set. Check for halted bit and report USB_ST_STALLED status
if the host controller also indicates endpoit stall condition.

Signed-off-by: default avatarAnatolij Gustschin <agust@denx.de>
parent c70e7ddb
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment