Searched hist:"222 d6dff27b81dd9cfd57b984538f3d481aae0f5" (Results 1 – 1 of 1) sorted by relevance
| /rk3399_rockchip-uboot/drivers/usb/host/ |
| H A D | ehci-hcd.c | 222d6dff27b81dd9cfd57b984538f3d481aae0f5 Tue Nov 02 10:47:29 UTC 2010 Anatolij Gustschin <agust@denx.de> 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: Anatolij Gustschin <agust@denx.de>
|