[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20191031104209.25451-1-rogerq@ti.com>
Date: Thu, 31 Oct 2019 12:42:09 +0200
From: Roger Quadros <rogerq@...com>
To: <balbi@...nel.org>, <gregkh@...uxfoundation.org>
CC: <linux-usb@...r.kernel.org>, <linux-kernel@...r.kernel.org>,
Roger Quadros <rogerq@...com>
Subject: [PATCH] usb: gadget: legacy: multi: set max speed to super-speed
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@...com>
---
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
Powered by blists - more mailing lists