blob: 27c43dffd6e94a8a128a45c2cdef9358d0a14f09 [file] [log] [blame]
From ltsi-dev-bounces@lists.linuxfoundation.org Sun Feb 17 18:06:24 2013
From: Do Quang Thang <dq-thang@jinso.co.jp>
Date: Mon, 18 Feb 2013 11:05:36 +0900
Subject: usb: gadget: acm_ms: need to set max_speed
To: Greg KH <greg@kroah.com>
Cc: ltsi-dev@lists.linuxfoundation.org
Message-ID: <1361153138-5365-6-git-send-email-dq-thang@jinso.co.jp>
From: Steve Bennett <steveb@workware.net.au>
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>
(cherry picked from commit 6f47209b271661ecd5929397cbe646ff247f01b6)
Signed-off-by: Do Quang Thang <dq-thang@jinso.co.jp>
---
drivers/usb/gadget/acm_ms.c | 1 +
1 file changed, 1 insertion(+)
--- 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 u
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),
};