diff options
author | Steve Bennett <steveb@workware.net.au> | 2012-06-22 06:16:19 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-22 12:10:10 +0200 |
commit | 6f47209b271661ecd5929397cbe646ff247f01b6 (patch) | |
tree | f160c0aef00cc7bab137b99c5cd684bff60d65b3 /drivers/usb/gadget | |
parent | usb: gadget: lpc32xx_udc: move clock init to clock framework (diff) | |
download | linux-6f47209b271661ecd5929397cbe646ff247f01b6.tar.xz linux-6f47209b271661ecd5929397cbe646ff247f01b6.zip |
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.c | 1 |
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) 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), }; |