projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a8d6bbd
)
UPSTREAM: usb: dwc3: gadget: remove udelay(1) when sending ep cmds
author
Felipe Balbi
<felipe.balbi@linux.intel.com>
Fri, 13 May 2016 07:11:59 +0000
(10:11 +0300)
committer
Huang, Tao
<huangtao@rock-chips.com>
Tue, 16 Aug 2016 12:48:19 +0000
(20:48 +0800)
When we send an endpoint command, we want that to
complete as soon as possible, so let's remove the
unnecessary udelay(1) call.
Change-Id: I601a8a4c80aa5abd6ccf68f2169f38a08ef3bc5f
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Signed-off-by: Wu Liang feng <wulf@rock-chips.com>
(cherry picked from commit
b43bba96b9036e42b2c2c71ee15e1f77b0b37aec
)
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index 3d50b0b55adfd8623386490735d6b3895ee4ce76..ad130fbd30f15f869652bff3a636ec4d9d0c055d 100644
(file)
--- a/
drivers/usb/dwc3/gadget.c
+++ b/
drivers/usb/dwc3/gadget.c
@@
-334,8
+334,6
@@
int dwc3_send_gadget_ep_cmd(struct dwc3 *dwc, unsigned ep,
ret = -ETIMEDOUT;
break;
}
-
- udelay(1);
} while (1);
if (unlikely(susphy)) {