testing shows that udelay() is unnecessary as
controller reaches Halted state almost
instantenously as can be seen by our timeout
variable never actually decrementing.
Change-Id: I39aa43a4d26c4e5bf7c2c49569bb5ab0c662e718
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit
d807bdd02845d53047346a4ba6d8934597fba6d6)
timeout--;
if (!timeout)
return -ETIMEDOUT;
- udelay(1);
} while (1);
dwc3_trace(trace_dwc3_gadget, "gadget %s data soft-%s",