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:
527b570
)
usb: renesas_usbhs: fix usbhs_pipe_malloc() to re-enable a pipe.
author
Yoshihiro Shimoda
<yoshihiro.shimoda.uh@renesas.com>
Wed, 9 Jul 2014 11:30:03 +0000
(20:30 +0900)
committer
Felipe Balbi
<balbi@ti.com>
Thu, 10 Jul 2014 13:36:49 +0000
(08:36 -0500)
This patch fixes an issue that the driver cannot push a new data when
a pipe is re-enabled after the pipe is queued.
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/renesas_usbhs/pipe.c
patch
|
blob
|
history
diff --git
a/drivers/usb/renesas_usbhs/pipe.c
b/drivers/usb/renesas_usbhs/pipe.c
index 7926e1c700f1a036abf8dd6592ec33866f00d6a0..239b889ca5b5a191c7dc036c78fb64e7d9e4074e 100644
(file)
--- a/
drivers/usb/renesas_usbhs/pipe.c
+++ b/
drivers/usb/renesas_usbhs/pipe.c
@@
-710,6
+710,7
@@
struct usbhs_pipe *usbhs_pipe_malloc(struct usbhs_priv *priv,
usbhsp_pipe_select(pipe);
usbhsp_pipe_cfg_set(pipe, 0xFFFF, pipecfg);
usbhsp_pipe_buf_set(pipe, 0xFFFF, pipebuf);
+ usbhs_pipe_clear(pipe);
usbhs_pipe_sequence_data0(pipe);