提交 28af04b4 编写于 作者: T Thinh Nguyen 提交者: Felipe Balbi

usb: gadget: mass_storage: Set max_speed to SSP

Increase max_speed of the mass_storage driver for UDCs that support
SuperSpeed Plus. The composite driver will pass this value to UDC core
to set the device speed on probe (actual speed may be different
depending on whether the USB controller supports it or other external
factors).
Signed-off-by: NThinh Nguyen <thinhn@synopsys.com>
Signed-off-by: NFelipe Balbi <felipe.balbi@linux.intel.com>
上级 636ba13a
...@@ -225,7 +225,7 @@ static int msg_unbind(struct usb_composite_dev *cdev) ...@@ -225,7 +225,7 @@ static int msg_unbind(struct usb_composite_dev *cdev)
static struct usb_composite_driver msg_driver = { static struct usb_composite_driver msg_driver = {
.name = "g_mass_storage", .name = "g_mass_storage",
.dev = &msg_device_desc, .dev = &msg_device_desc,
.max_speed = USB_SPEED_SUPER, .max_speed = USB_SPEED_SUPER_PLUS,
.needs_serial = 1, .needs_serial = 1,
.strings = dev_strings, .strings = dev_strings,
.bind = msg_bind, .bind = msg_bind,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册