Message ID | 20230224195749.818282-3-sdalvi@google.com (mailing list archive) |
---|---|
State | Changes Requested |
Headers | show |
Series | Skip waiting for link up during probe | expand |
diff --git a/drivers/pci/controller/dwc/pcie-designware-host.c b/drivers/pci/controller/dwc/pcie-designware-host.c index 3ab6ae3712c4..f5cba44ebf39 100644 --- a/drivers/pci/controller/dwc/pcie-designware-host.c +++ b/drivers/pci/controller/dwc/pcie-designware-host.c @@ -477,8 +477,9 @@ int dw_pcie_host_init(struct dw_pcie_rp *pp) goto err_free_msi; } - /* Ignore errors, the link may come up later */ - dw_pcie_wait_for_link(pci); + if (!of_property_read_bool(np, "snps,skip-wait-link-up")) + /* Ignore errors, the link may come up later */ + dw_pcie_wait_for_link(pci); bridge->sysdata = pp;