projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5085669
)
usb: gadget: acm_ms: need to set max_speed
author
Steve Bennett
<steveb@workware.net.au>
Fri, 22 Jun 2012 04:16:19 +0000
(14:16 +1000)
committer
Felipe Balbi
<balbi@ti.com>
Fri, 22 Jun 2012 10:10:10 +0000
(13:10 +0300)
Failing to set max_speed prevents g_acm_ms working with many drivers which
check for driver->max_speed < USB_SPEED_FULL, including pxa25x_udc
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/acm_ms.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/usb/gadget/acm_ms.c
b/drivers/usb/gadget/acm_ms.c
index fdb7aec3bd0c9685262db2a303444ef69a62222c..75b8a691fd0036154897ab530074027099b17bc8 100644
(file)
--- a/
drivers/usb/gadget/acm_ms.c
+++ b/
drivers/usb/gadget/acm_ms.c
@@
-235,6
+235,7
@@
static int __exit acm_ms_unbind(struct usb_composite_dev *cdev)
static struct usb_composite_driver acm_ms_driver = {
.name = "g_acm_ms",
.dev = &device_desc,
+ .max_speed = USB_SPEED_SUPER,
.strings = dev_strings,
.unbind = __exit_p(acm_ms_unbind),
};