summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/legacy/cdc2.c
diff options
context:
space:
mode:
authorRoger Quadros <rogerq@ti.com>2019-12-23 09:47:35 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2020-01-15 12:39:21 +0300
commit463f67aec2837f981b0a0ce8617721ff59685c00 (patch)
treec27295238758891a8e46540327cc0bc06bd8f9a8 /drivers/usb/gadget/legacy/cdc2.c
parent7037e101b648f8534119733e0aba215097ecd4d4 (diff)
downloadlinux-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.c2
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,
};