usb: dwc3: gadget: remove udelay() from generic cmd
authorFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 23 May 2016 11:08:47 +0000 (14:08 +0300)
committerFelipe Balbi <felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:32:41 +0000 (12:32 +0300)
We want commands to finish ASAP, so let's remove
that udelay() call.

Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c

index f148b11f6e4d8bb8863d27509f606cfd3dce8b57..609acd7b1520e4dd36e66229b815c013101158be 100644 (file)
@@ -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) {