aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2012-06-22 00:16:19 -0400
committerFelipe Balbi <balbi@ti.com>2012-06-22 06:10:10 -0400
commit6f47209b271661ecd5929397cbe646ff247f01b6 (patch)
treef160c0aef00cc7bab137b99c5cd684bff60d65b3 /drivers/usb/gadget
parent508566998b8de0a95e39da9d35893df9e212328d (diff)
usb: gadget: acm_ms: need to set max_speed
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>
Diffstat (limited to 'drivers/usb/gadget')
-rw-r--r--drivers/usb/gadget/acm_ms.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/gadget/acm_ms.c b/drivers/usb/gadget/acm_ms.c
index fdb7aec3bd0c..75b8a691fd00 100644
--- 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)
235static struct usb_composite_driver acm_ms_driver = { 235static struct usb_composite_driver acm_ms_driver = {
236 .name = "g_acm_ms", 236 .name = "g_acm_ms",
237 .dev = &device_desc, 237 .dev = &device_desc,
238 .max_speed = USB_SPEED_SUPER,
238 .strings = dev_strings, 239 .strings = dev_strings,
239 .unbind = __exit_p(acm_ms_unbind), 240 .unbind = __exit_p(acm_ms_unbind),
240}; 241};