USB: ice40-hcd: Add retry to check if a stall is real
The bridge chip reports the NAK as STALL during mass storage transfers.
If the transfer status is read again, the correct status is reflected. Add
a workaround to read the transfer status register after receiving STALL.
This workaround is added for both IN/OUT endpoints.
CRs-Fixed: 646346
Change-Id: If531474ae1ddc2f19c94bdfdb0bd8f5b25044663
Signed-off-by:
Tarun Gupta <tarung@codeaurora.org>
Loading
Please register or sign in to comment