[PATCH 12/16] usb: gadget: dnl: set dnl to be super speed

peng.fan at nxp.com peng.fan at nxp.com
Wed Sep 16 15:25:33 CEST 2020


From: Li Jun <jun.li at nxp.com>

Set its max_speed to be super speed.

Reviewed-by: Ye Li <ye.li at nxp.com>
Reviewed-by: Peter Chen <peter.chen at nxp.com>
Tested-by: faqiang.zhu <faqiang.zhu at nxp.com>
Signed-off-by: Li Jun <jun.li at nxp.com>
Signed-off-by: Peng Fan <peng.fan at nxp.com>
---
 drivers/usb/gadget/g_dnl.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/usb/gadget/g_dnl.c b/drivers/usb/gadget/g_dnl.c
index 86fdd16b01..afb7b74f30 100644
--- a/drivers/usb/gadget/g_dnl.c
+++ b/drivers/usb/gadget/g_dnl.c
@@ -286,6 +286,7 @@ static struct usb_composite_driver g_dnl_driver = {
 	.name = NULL,
 	.dev = &device_desc,
 	.strings = g_dnl_composite_strings,
+	.max_speed = USB_SPEED_SUPER,
 
 	.bind = g_dnl_bind,
 	.unbind = g_dnl_unbind,
-- 
2.28.0



More information about the U-Boot mailing list