usb: host: xhci: fix skip phy init quirk

Previously, in commit a811f07f45 ("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
8e10548f7f ("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: a811f07f45 ("usb: host: xhci: skip phy init quirk can configure in dt")
Change-Id: If5acf77731532ab6bb19098ac8d435aaeb0b3a10
Signed-off-by: Frank Wang <frank.wang@rock-chips.com>
This commit is contained in:
Frank Wang
2023-10-11 16:36:58 +08:00
committed by Tao Huang
parent 1f1b8d8c4c
commit 9e78a311c7

View File

@@ -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"))