提交 5f9c3a66 编写于 作者: M Mathias Nyman 提交者: Greg Kroah-Hartman

usb: set USB 3.1 roothub device speed to USB_SPEED_SUPER_PLUS

A hcd roothub that supports HCD_USB31 is running at SuperSpeedPlus speed
Signed-off-by: NMathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
上级 8a1b2725
...@@ -2778,9 +2778,11 @@ int usb_add_hcd(struct usb_hcd *hcd, ...@@ -2778,9 +2778,11 @@ int usb_add_hcd(struct usb_hcd *hcd,
rhdev->speed = USB_SPEED_WIRELESS; rhdev->speed = USB_SPEED_WIRELESS;
break; break;
case HCD_USB3: case HCD_USB3:
case HCD_USB31:
rhdev->speed = USB_SPEED_SUPER; rhdev->speed = USB_SPEED_SUPER;
break; break;
case HCD_USB31:
rhdev->speed = USB_SPEED_SUPER_PLUS;
break;
default: default:
retval = -EINVAL; retval = -EINVAL;
goto err_set_rh_speed; goto err_set_rh_speed;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册