diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-10-24 05:25:28 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-11-14 14:51:31 -0500 |
commit | d7a00ec1a8debf74317c5110ded9918bad8de772 (patch) | |
tree | 7cedefbfc9e006f998fe27c2faef27dee6b13a27 /drivers/usb | |
parent | 146ee50ae51c78fc93d025cb9528883df26ab705 (diff) |
usb: gadget: renesas_usbhs: bugfix: set DATA0 when usbhsh_endpoint_alloc()
new endpoint should start from DATA0,
but mod_host didn't care it.
This patch fix it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb')
-rw-r--r-- | drivers/usb/renesas_usbhs/mod_host.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/renesas_usbhs/mod_host.c b/drivers/usb/renesas_usbhs/mod_host.c index 228f7b844c1d..bade761a1e52 100644 --- a/drivers/usb/renesas_usbhs/mod_host.c +++ b/drivers/usb/renesas_usbhs/mod_host.c | |||
@@ -435,6 +435,7 @@ usbhsh_endpoint_alloc_find_pipe: | |||
435 | * see | 435 | * see |
436 | * DCPMAXP/PIPEMAXP | 436 | * DCPMAXP/PIPEMAXP |
437 | */ | 437 | */ |
438 | usbhs_pipe_sequence_data0(uep->pipe); | ||
438 | usbhs_pipe_config_update(uep->pipe, | 439 | usbhs_pipe_config_update(uep->pipe, |
439 | usbhsh_device_number(hpriv, udev), | 440 | usbhsh_device_number(hpriv, udev), |
440 | usb_endpoint_num(desc), | 441 | usb_endpoint_num(desc), |