From: Felipe Balbi Date: Mon, 23 May 2016 11:08:47 +0000 (+0300) Subject: usb: dwc3: gadget: remove udelay() from generic cmd X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=88811f7b722c417ececbc7f278c26d8df8606d02;p=GitHub%2Fmoto-9609%2Fandroid_kernel_motorola_exynos9610.git 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 --- diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index f148b11f6e4d..609acd7b1520 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) {