mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
usb: host: xhci: fix skip phy init quirk
Previously, in commita811f07f45("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 commit8e10548f7f("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:
@@ -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"))
|
||||
|
||||
Reference in New Issue
Block a user