Commit 463f67ae authored by Roger Quadros's avatar Roger Quadros Committed by Greg Kroah-Hartman

usb: gadget: legacy: set max_speed to super-speed

These interfaces do support super-speed so let's not
limit maximum speed to high-speed.

Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarRoger Quadros <rogerq@ti.com>
Signed-off-by: default avatarFelipe Balbi <balbi@kernel.org>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 7037e101
...@@ -225,7 +225,7 @@ static struct usb_composite_driver cdc_driver = { ...@@ -225,7 +225,7 @@ static struct usb_composite_driver cdc_driver = {
.name = "g_cdc", .name = "g_cdc",
.dev = &device_desc, .dev = &device_desc,
.strings = dev_strings, .strings = dev_strings,
.max_speed = USB_SPEED_HIGH, .max_speed = USB_SPEED_SUPER,
.bind = cdc_bind, .bind = cdc_bind,
.unbind = cdc_unbind, .unbind = cdc_unbind,
}; };
......
...@@ -149,7 +149,7 @@ static struct usb_composite_driver gfs_driver = { ...@@ -149,7 +149,7 @@ static struct usb_composite_driver gfs_driver = {
.name = DRIVER_NAME, .name = DRIVER_NAME,
.dev = &gfs_dev_desc, .dev = &gfs_dev_desc,
.strings = gfs_dev_strings, .strings = gfs_dev_strings,
.max_speed = USB_SPEED_HIGH, .max_speed = USB_SPEED_SUPER,
.bind = gfs_bind, .bind = gfs_bind,
.unbind = gfs_unbind, .unbind = gfs_unbind,
}; };
......
...@@ -482,7 +482,7 @@ static struct usb_composite_driver multi_driver = { ...@@ -482,7 +482,7 @@ static struct usb_composite_driver multi_driver = {
.name = "g_multi", .name = "g_multi",
.dev = &device_desc, .dev = &device_desc,
.strings = dev_strings, .strings = dev_strings,
.max_speed = USB_SPEED_HIGH, .max_speed = USB_SPEED_SUPER,
.bind = multi_bind, .bind = multi_bind,
.unbind = multi_unbind, .unbind = multi_unbind,
.needs_serial = 1, .needs_serial = 1,
......
...@@ -197,7 +197,7 @@ static struct usb_composite_driver ncm_driver = { ...@@ -197,7 +197,7 @@ static struct usb_composite_driver ncm_driver = {
.name = "g_ncm", .name = "g_ncm",
.dev = &device_desc, .dev = &device_desc,
.strings = dev_strings, .strings = dev_strings,
.max_speed = USB_SPEED_HIGH, .max_speed = USB_SPEED_SUPER,
.bind = gncm_bind, .bind = gncm_bind,
.unbind = gncm_unbind, .unbind = gncm_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