summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/acm_ms.c
diff options
context:
space:
mode:
authorSteve Bennett <steveb@workware.net.au>2012-06-22 14:16:19 +1000
committerFelipe Balbi <balbi@ti.com>2012-06-22 13:10:10 +0300
commit6f47209b271661ecd5929397cbe646ff247f01b6 (patch)
treef160c0aef00cc7bab137b99c5cd684bff60d65b3 /drivers/usb/gadget/acm_ms.c
parent508566998b8de0a95e39da9d35893df9e212328d (diff)
downloadop-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.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 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),
};
OpenPOWER on IntegriCloud