usb: ci13xxx_udc: Add delay upon hardware dequeue failure

A delay is observed between when the HW generates the
ENDPTCOMPLETE interrupt and updating the dTD status bits. This
delay is causing the request ending up in lying in the DCD queue
which leads to data stall on that particular endpoints.

As temporary workaround add 10 micro second delay upon dequeue failure
and make a call to hardware dequeue again which might help this case.

Change-Id: Ic97fa259b2e2f0a5c53cb49106f42960b4514164
Signed-off-by: Anji jonnala <anjir@codeaurora.org>
2 files changed