diff mbox series

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

Message ID 20200916132537.8313-13-peng.fan@nxp.com
State Superseded
Headers show
Series usb: gadget: update | expand

Commit Message

Peng Fan Sept. 16, 2020, 1:25 p.m. UTC
From: Li Jun <jun.li@nxp.com>


Set its max_speed to be super speed.

Reviewed-by: Ye Li <ye.li@nxp.com>

Reviewed-by: Peter Chen <peter.chen@nxp.com>

Tested-by: faqiang.zhu <faqiang.zhu@nxp.com>

Signed-off-by: Li Jun <jun.li@nxp.com>

Signed-off-by: Peng Fan <peng.fan@nxp.com>

---
 drivers/usb/gadget/g_dnl.c | 1 +
 1 file changed, 1 insertion(+)

-- 
2.28.0
diff mbox series

Patch

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,