mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-05 18:39:59 +00:00
usb: xhci: Init root hub SSP rate
Initialize USB 3.x root hub SuperSpeed Plus rate. Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com> Link: https://lore.kernel.org/r/f1698a96d5f9dfaefb857b95e5db6135ae0c9e93.1615432770.git.Thinh.Nguyen@synopsys.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
423432072d
commit
cd8d66cfae
1 changed files with 2 additions and 0 deletions
|
@ -5226,10 +5226,12 @@ int xhci_gen_setup(struct usb_hcd *hcd, xhci_get_quirks_t get_quirks)
|
||||||
hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
|
hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
|
||||||
hcd->self.root_hub->rx_lanes = 2;
|
hcd->self.root_hub->rx_lanes = 2;
|
||||||
hcd->self.root_hub->tx_lanes = 2;
|
hcd->self.root_hub->tx_lanes = 2;
|
||||||
|
hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x2;
|
||||||
break;
|
break;
|
||||||
case 1:
|
case 1:
|
||||||
hcd->speed = HCD_USB31;
|
hcd->speed = HCD_USB31;
|
||||||
hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
|
hcd->self.root_hub->speed = USB_SPEED_SUPER_PLUS;
|
||||||
|
hcd->self.root_hub->ssp_rate = USB_SSP_GEN_2x1;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
xhci_info(xhci, "Host supports USB 3.%x %sSuperSpeed\n",
|
xhci_info(xhci, "Host supports USB 3.%x %sSuperSpeed\n",
|
||||||
|
|
Loading…
Reference in a new issue