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:
0cdd7d4
)
usb: renesas_usbhs: fixup driver speed
author
Kuninori Morimoto
<
[email protected]
>
Fri, 18 Nov 2011 02:20:44 +0000
(18:20 -0800)
committer
Greg Kroah-Hartman
<
[email protected]
>
Tue, 29 Nov 2011 14:19:03 +0000
(23:19 +0900)
This patch cares latest USB_SPEED_SUPER support.
renesas_usbhs can not use super-speed, but can use full/high speed.
Signed-off-by: Kuninori Morimoto <
[email protected]
>
Signed-off-by: Felipe Balbi <
[email protected]
>
Signed-off-by: Greg Kroah-Hartman <
[email protected]
>
drivers/usb/renesas_usbhs/mod_gadget.c
patch
|
blob
|
history
diff --git
a/drivers/usb/renesas_usbhs/mod_gadget.c
b/drivers/usb/renesas_usbhs/mod_gadget.c
index 2be73817e47f8dec41e1c633539c29b1ef1d3c57..7f4e803385702499b70e4a40fce377bc28a1e45f 100644
(file)
--- a/
drivers/usb/renesas_usbhs/mod_gadget.c
+++ b/
drivers/usb/renesas_usbhs/mod_gadget.c
@@
-755,7
+755,7
@@
static int usbhsg_gadget_start(struct usb_gadget *gadget,
if (!driver ||
!driver->setup ||
- driver->speed
!= USB_SPEED_HIGH
)
+ driver->speed
< USB_SPEED_FULL
)
return -EINVAL;
/* first hook up the driver ... */