|
@@ -232,9 +232,6 @@ static int xhci_plat_probe(struct platform_device *pdev)
|
|
|
if (device_property_read_bool(&pdev->dev, "usb3-lpm-capable"))
|
|
|
xhci->quirks |= XHCI_LPM_SUPPORT;
|
|
|
|
|
|
- if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
|
|
|
- xhci->shared_hcd->can_do_streams = 1;
|
|
|
-
|
|
|
hcd->usb_phy = devm_usb_get_phy_by_phandle(&pdev->dev, "usb-phy", 0);
|
|
|
if (IS_ERR(hcd->usb_phy)) {
|
|
|
ret = PTR_ERR(hcd->usb_phy);
|
|
@@ -251,6 +248,9 @@ static int xhci_plat_probe(struct platform_device *pdev)
|
|
|
if (ret)
|
|
|
goto disable_usb_phy;
|
|
|
|
|
|
+ if (HCC_MAX_PSA(xhci->hcc_params) >= 4)
|
|
|
+ xhci->shared_hcd->can_do_streams = 1;
|
|
|
+
|
|
|
ret = usb_add_hcd(xhci->shared_hcd, irq, IRQF_SHARED);
|
|
|
if (ret)
|
|
|
goto dealloc_usb2_hcd;
|