Commit b52e6db1 authored by Roger Quadros's avatar Roger Quadros Committed by Khalid Elmously

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

BugLink: https://bugs.launchpad.net/bugs/1864775

commit 463f67ae upstream.

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>
Signed-off-by: default avatarKhalid Elmously <khalid.elmously@canonical.com>
Signed-off-by: default avatarKleber Sacilotto de Souza <kleber.souza@canonical.com>
parent d83b5a08
...@@ -229,7 +229,7 @@ static struct usb_composite_driver cdc_driver = { ...@@ -229,7 +229,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,
}; };
......
...@@ -153,7 +153,7 @@ static struct usb_composite_driver gfs_driver = { ...@@ -153,7 +153,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,
}; };
......
...@@ -486,7 +486,7 @@ static struct usb_composite_driver multi_driver = { ...@@ -486,7 +486,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,
......
...@@ -203,7 +203,7 @@ static struct usb_composite_driver ncm_driver = { ...@@ -203,7 +203,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