From 9e78a311c7fb4de529cdecdcd568cd9ba997086a Mon Sep 17 00:00:00 2001 From: Frank Wang Date: Wed, 11 Oct 2023 16:36:58 +0800 Subject: [PATCH] usb: host: xhci: fix skip phy init quirk Previously, in commit a811f07f4540 ("usb: host: xhci: skip phy init quirk can configure in dt"), Rockchip added "quirk-skip-phy-init" quirk to configure the property in DT, however, upstream commit 8e10548f7f48 ("Revert "usb: host: xhci: mvebu: make USB 3.0 PHY optional for Armada 3720") changed the condition later that makes the quirk became ineffectual. So fix it. Fixes: a811f07f4540 ("usb: host: xhci: skip phy init quirk can configure in dt") Change-Id: If5acf77731532ab6bb19098ac8d435aaeb0b3a10 Signed-off-by: Frank Wang --- drivers/usb/host/xhci-plat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/usb/host/xhci-plat.c b/drivers/usb/host/xhci-plat.c index 38707e377c6c..8ca3925118ab 100644 --- a/drivers/usb/host/xhci-plat.c +++ b/drivers/usb/host/xhci-plat.c @@ -304,7 +304,7 @@ static int xhci_plat_probe(struct platform_device *pdev) xhci->quirks |= XHCI_BROKEN_PORT_PED; if (device_property_read_bool(tmpdev, "quirk-skip-phy-init")) - xhci->quirks |= XHCI_SKIP_PHY_INIT; + hcd->skip_phy_initialization = 1; if (device_property_read_bool(tmpdev, "xhci-u2-broken-suspend"))