projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
66b76db
)
usb: chipidea: udc: Don't flush endpoint fifo twice
author
Stefan Wahren
<stefan.wahren@i2se.com>
Sat, 9 Jul 2016 14:16:39 +0000
(14:16 +0000)
committer
Peter Chen
<peter.chen@nxp.com>
Wed, 14 Sep 2016 02:58:13 +0000
(10:58 +0800)
The endpoint fifo is already flushed in _ep_nuke so there
is no need to flush it twice.
Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Peter Chen <peter.chen@nxp.com>
drivers/usb/chipidea/udc.c
patch
|
blob
|
history
diff --git
a/drivers/usb/chipidea/udc.c
b/drivers/usb/chipidea/udc.c
index b0c4ae1cd206635717328fb687f4cb0edc28d18b..a66a47a9d2a78c49c8e414f176a673c6d37a0afa 100644
(file)
--- a/
drivers/usb/chipidea/udc.c
+++ b/
drivers/usb/chipidea/udc.c
@@
-121,7
+121,6
@@
static int hw_ep_flush(struct ci_hdrc *ci, int num, int dir)
*/
static int hw_ep_disable(struct ci_hdrc *ci, int num, int dir)
{
- hw_ep_flush(ci, num, dir);
hw_write(ci, OP_ENDPTCTRL + num,
dir ? ENDPTCTRL_TXE : ENDPTCTRL_RXE, 0);
return 0;