From 1b53b78b7ceb9d61d0c9a4152d4f47e7e02fa4d5 Mon Sep 17 00:00:00 2001 From: Felipe Balbi Date: Mon, 23 May 2016 14:08:47 +0300 Subject: [PATCH] UPSTREAM: usb: dwc3: gadget: remove udelay() from generic cmd We want commands to finish ASAP, so let's remove that udelay() call. Change-Id: I521945dc6242cfe1a8cf730ab2f7d9010a1e65a9 Signed-off-by: Felipe Balbi Signed-off-by: Wu Liang feng (cherry picked from commit 88811f7b722c417ececbc7f278c26d8df8606d02) --- drivers/usb/dwc3/gadget.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/usb/dwc3/gadget.c b/drivers/usb/dwc3/gadget.c index 74a1489e5715..46fa5b9e6518 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) { -- 2.34.1