mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2025-03-07 05:27:43 +07:00
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…
Reference in New Issue
Block a user