Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 2c0e06f8 authored by Mathias Nyman's avatar Mathias Nyman Committed by Greg Kroah-Hartman
Browse files

xhci: set roothub speed to USB_SPEED_SUPER_PLUS for USB3.1 capable controllers

parent 0caf6b33
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -4898,6 +4898,7 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks)
		if (xhci->sbrn == 0x31) {
			xhci_info(xhci, "Host supports USB 3.1 Enhanced SuperSpeed\n");
			hcd->speed = HCD_USB31;
			hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
		}
		/* xHCI private pointer was set in xhci_pci_probe for the second
		 * registered roothub.