diff options
author | Steve Bennett <steveb@workware.net.au> | 2012-06-22 14:16:19 +1000 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2012-06-22 13:10:10 +0300 |
commit | 6f47209b271661ecd5929397cbe646ff247f01b6 (patch) | |
tree | f160c0aef00cc7bab137b99c5cd684bff60d65b3 /drivers/usb/gadget/acm_ms.c | |
parent | 508566998b8de0a95e39da9d35893df9e212328d (diff) | |
download | op-kernel-dev-6f47209b271661ecd5929397cbe646ff247f01b6.zip op-kernel-dev-6f47209b271661ecd5929397cbe646ff247f01b6.tar.gz |
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/acm_ms.c')
-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 fdb7aec..75b8a69 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), }; |