diff options
author | Roger Quadros <rogerq@ti.com> | 2019-12-23 09:47:35 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2020-01-15 12:39:21 +0300 |
commit | 463f67aec2837f981b0a0ce8617721ff59685c00 (patch) | |
tree | c27295238758891a8e46540327cc0bc06bd8f9a8 /drivers/usb/gadget/legacy/cdc2.c | |
parent | 7037e101b648f8534119733e0aba215097ecd4d4 (diff) | |
download | linux-463f67aec2837f981b0a0ce8617721ff59685c00.tar.xz |
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: Roger Quadros <rogerq@ti.com>
Signed-off-by: Felipe Balbi <balbi@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/gadget/legacy/cdc2.c')
-rw-r--r-- | drivers/usb/gadget/legacy/cdc2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/legacy/cdc2.c b/drivers/usb/gadget/legacy/cdc2.c index da1c37933ca1..8d7a556ece30 100644 --- a/drivers/usb/gadget/legacy/cdc2.c +++ b/drivers/usb/gadget/legacy/cdc2.c @@ -225,7 +225,7 @@ static struct usb_composite_driver cdc_driver = { .name = "g_cdc", .dev = &device_desc, .strings = dev_strings, - .max_speed = USB_SPEED_HIGH, + .max_speed = USB_SPEED_SUPER, .bind = cdc_bind, .unbind = cdc_unbind, }; |