[PATCH] usb: gadget: legacy: multi: set max speed to super-speed
From: Roger Quadros
Date: Thu Oct 31 2019 - 06:42:17 EST
multi uses ACM, ECM/RNDIS and mass storage interfaces, all
of which support super-speed. Let's not limit g_multi
to high-speed.
Signed-off-by: Roger Quadros <rogerq@xxxxxx>
---
drivers/usb/gadget/legacy/multi.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/drivers/usb/gadget/legacy/multi.c b/drivers/usb/gadget/legacy/multi.c
index 50515f9e1022..ec9749845660 100644
--- a/drivers/usb/gadget/legacy/multi.c
+++ b/drivers/usb/gadget/legacy/multi.c
@@ -482,7 +482,7 @@ static struct usb_composite_driver multi_driver = {
.name = "g_multi",
.dev = &device_desc,
.strings = dev_strings,
- .max_speed = USB_SPEED_HIGH,
+ .max_speed = USB_SPEED_SUPER,
.bind = multi_bind,
.unbind = multi_unbind,
.needs_serial = 1,
--
Texas Instruments Finland Oy, Porkkalankatu 22, 00180 Helsinki.
Y-tunnus/Business ID: 0615521-4. Kotipaikka/Domicile: Helsinki