diff options
author | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-05-23 11:08:47 (GMT) |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2016-06-20 09:32:41 (GMT) |
commit | 88811f7b722c417ececbc7f278c26d8df8606d02 (patch) | |
tree | efc6ab3f74c7a5af40f81c25e4b49a5a730a72a9 | |
parent | 0fe886cdb07aeaf75a61154f34abc8dd6860978e (diff) | |
download | linux-88811f7b722c417ececbc7f278c26d8df8606d02.tar.xz |
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>
-rw-r--r-- | drivers/usb/dwc3/gadget.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index f148b11..609acd7 100644 --- a/drivers/usb/dwc3/gadget.c +++ b/drivers/usb/dwc3/gadget.c @@ -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) { |