mirror of
https://github.com/torvalds/linux.git
synced 2024-11-17 17:41:44 +00:00
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: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
8a1b2725a6
commit
5f9c3a668b
@ -2778,9 +2778,11 @@ int usb_add_hcd(struct usb_hcd *hcd,
|
||||
rhdev->speed = USB_SPEED_WIRELESS;
|
||||
break;
|
||||
case HCD_USB3:
|
||||
case HCD_USB31:
|
||||
rhdev->speed = USB_SPEED_SUPER;
|
||||
break;
|
||||
case HCD_USB31:
|
||||
rhdev->speed = USB_SPEED_SUPER_PLUS;
|
||||
break;
|
||||
default:
|
||||
retval = -EINVAL;
|
||||
goto err_set_rh_speed;
|
||||
|
Loading…
Reference in New Issue
Block a user