xhci: set roothub speed to USB_SPEED_SUPER_PLUS for USB3.1 capable controllers
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 25 Jan 2016 13:30:45 +0000 (15:30 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 3 Feb 2016 21:20:54 +0000 (13:20 -0800)
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci.c

index 32d23e1301b83c6e5caa17bdd98252ecbbdeb954..503d82fb0dd582b799ae8ca76e846517ee3bae81 100644 (file)
@@ -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.