linux-pci.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] PCI: imx6: Allow async probe
@ 2019-04-04 16:45 Lucas Stach
  2019-04-04 17:32 ` Fabio Estevam
  2019-04-16 10:26 ` Lorenzo Pieralisi
  0 siblings, 2 replies; 5+ messages in thread
From: Lucas Stach @ 2019-04-04 16:45 UTC (permalink / raw)
  To: Richard Zhu, Lorenzo Pieralisi
  Cc: Bjorn Helgaas, linux-pci, linux-arm-kernel, kernel, patchwork-lst

Establishing a PCIe link can take a while. Allow async probing so all
this happens in the background while other devices are being probed.

Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
---
 drivers/pci/controller/dwc/pci-imx6.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/drivers/pci/controller/dwc/pci-imx6.c b/drivers/pci/controller/dwc/pci-imx6.c
index 3d627f94a166..2eb39d5de4f6 100644
--- a/drivers/pci/controller/dwc/pci-imx6.c
+++ b/drivers/pci/controller/dwc/pci-imx6.c
@@ -1279,6 +1279,7 @@ static struct platform_driver imx6_pcie_driver = {
 		.of_match_table = imx6_pcie_of_match,
 		.suppress_bind_attrs = true,
 		.pm = &imx6_pcie_pm_ops,
+		.probe_type = PROBE_PREFER_ASYNCHRONOUS,
 	},
 	.probe    = imx6_pcie_probe,
 	.shutdown = imx6_pcie_shutdown,
-- 
2.20.1


^ permalink raw reply related	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-04-16 10:26 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-04 16:45 [PATCH] PCI: imx6: Allow async probe Lucas Stach
2019-04-04 17:32 ` Fabio Estevam
2019-04-05  8:38   ` Lucas Stach
2019-04-05 11:42     ` Fabio Estevam
2019-04-16 10:26 ` Lorenzo Pieralisi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).