Commit 6f47209b authored by Steve Bennett's avatar Steve Bennett Committed by Felipe Balbi

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: default avatarSteve Bennett <steveb@workware.net.au>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 50856699
......@@ -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),
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment