summaryrefslogtreecommitdiff
path: root/drivers/usb/gadget/legacy/ncm.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/ncm.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/ncm.c')
-rw-r--r--drivers/usb/gadget/legacy/ncm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/legacy/ncm.c b/drivers/usb/gadget/legacy/ncm.c
index 8465f081e921..c61e71ba7045 100644
--- a/drivers/usb/gadget/legacy/ncm.c
+++ b/drivers/usb/gadget/legacy/ncm.c
@@ -197,7 +197,7 @@ static struct usb_composite_driver ncm_driver = {
.name = "g_ncm",
.dev = &device_desc,
.strings = dev_strings,
- .max_speed = USB_SPEED_HIGH,
+ .max_speed = USB_SPEED_SUPER,
.bind = gncm_bind,
.unbind = gncm_unbind,
};