1
0
Fork 0

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>
hifive-unleashed-5.1
Steve Bennett 2012-06-22 14:16:19 +10:00 committed by Felipe Balbi
parent 508566998b
commit 6f47209b27
1 changed files with 1 additions and 0 deletions

View File

@ -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),
};