diff options
author | Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org> | 2023-03-20 12:16:44 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lpieralisi@kernel.org> | 2023-04-12 08:49:04 +0200 |
commit | c0e1eb441b1de42500cbc081b8d754caae6b27b1 (patch) | |
tree | 88bb0a8df9fd07d3c020834ad164f00ec0eaaa9c /drivers/pci/controller | |
parent | ad9b9b6e36c920234af6e86982dd48be560385b1 (diff) |
PCI: qcom: Enable async probe by default
Qcom PCIe RC driver waits for the PHY link to be up during the probe;
this consumes several milliseconds during boot.
Enable async probe by default so that other drivers can load in parallel
while this driver waits for the link to be up.
Suggested-by: Rob Herring <robh@kernel.org>
Link: https://lore.kernel.org/r/20230320064644.5217-1-manivannan.sadhasivam@linaro.org
Tested-by: Johan Hovold <johan+linaro@kernel.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lpieralisi@kernel.org>
Reviewed-by: Johan Hovold <johan+linaro@kernel.org>
Diffstat (limited to 'drivers/pci/controller')
-rw-r--r-- | drivers/pci/controller/dwc/pcie-qcom.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/pci/controller/dwc/pcie-qcom.c b/drivers/pci/controller/dwc/pcie-qcom.c index 10b00fa2c6d1..9791af8b09f3 100644 --- a/drivers/pci/controller/dwc/pcie-qcom.c +++ b/drivers/pci/controller/dwc/pcie-qcom.c @@ -1642,6 +1642,7 @@ static struct platform_driver qcom_pcie_driver = { .suppress_bind_attrs = true, .of_match_table = qcom_pcie_match, .pm = &qcom_pcie_pm_ops, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, }; builtin_platform_driver(qcom_pcie_driver); |