projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6aff483
)
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
Felipe Balbi
<felipe.balbi@linux.intel.com>
Mon, 20 Jun 2016 09:30:06 +0000
(12:30 +0300)
When we send an endpoint command, we want that to
complete as soon as possible, so let's remove the
unnecessary udelay(1) call.
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
drivers/usb/dwc3/gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/dwc3/gadget.c
b/drivers/usb/dwc3/gadget.c
index
8ca3855
..
79d1882
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)) {