From: Steve Bennett Date: Fri, 22 Jun 2012 04:16:19 +0000 (+1000) Subject: usb: gadget: acm_ms: need to set max_speed X-Git-Tag: next-20120724~22^2~53^2~28^2~9 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=6f47209b271661ecd5929397cbe646ff247f01b6;p=karo-tx-linux.git 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 Signed-off-by: Felipe Balbi --- 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), };