diff options
author | Mathias Nyman <mathias.nyman@linux.intel.com> | 2016-01-25 15:30:45 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2016-02-03 13:20:54 -0800 |
commit | 2c0e06f8829a542e71b14ffcaa14b8fafa2223c3 (patch) | |
tree | c18f84ca900bad4fba4a6b6f47033a262e3969ee /drivers/usb/host/xhci.c | |
parent | 0caf6b33452112e5a1186c8c964e90310e49e6bd (diff) | |
download | linux-2c0e06f8829a542e71b14ffcaa14b8fafa2223c3.tar.bz2 |
xhci: set roothub speed to USB_SPEED_SUPER_PLUS for USB3.1 capable controllers
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/usb/host/xhci.c')
-rw-r--r-- | drivers/usb/host/xhci.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/host/xhci.c b/drivers/usb/host/xhci.c index 32d23e1301b8..503d82fb0dd5 100644 --- a/drivers/usb/host/xhci.c +++ b/drivers/usb/host/xhci.c @@ -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. |