usb: dwc3: gadget: remove udelay() from generic cmd
We want commands to finish ASAP, so let's remove that udelay() call. Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
This commit is contained in:
parent
0fe886cdb0
commit
88811f7b72
@ -225,8 +225,6 @@ int dwc3_send_gadget_generic_command(struct dwc3 *dwc, unsigned cmd, u32 param)
|
||||
ret = -EINVAL;
|
||||
break;
|
||||
}
|
||||
|
||||
udelay(1);
|
||||
} while (timeout--);
|
||||
|
||||
if (!timeout) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user