diff options
author | Lucas Stach <l.stach@pengutronix.de> | 2019-04-04 12:45:17 -0400 |
---|---|---|
committer | Bjorn Helgaas <bhelgaas@google.com> | 2019-05-07 10:01:01 -0400 |
commit | 1b8df7aa78748ddafc6f3b16a6328a3c500087b3 (patch) | |
tree | 1a74a8b097e227cb2848f81c80487cba14376ae0 | |
parent | fe23274f72f4e3be93134aac0ae1e1fd522f438a (diff) |
PCI: imx6: Allow asynchronous probing
Establishing a PCIe link can take a while; allow asynchronous probing so
that link establishment can happen in the background while other devices
are being probed.
Signed-off-by: Lucas Stach <l.stach@pengutronix.de>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Fabio Estevam <festevam@gmail.com>
-rw-r--r-- | drivers/pci/controller/dwc/pci-imx6.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 = { | |||
1279 | .of_match_table = imx6_pcie_of_match, | 1279 | .of_match_table = imx6_pcie_of_match, |
1280 | .suppress_bind_attrs = true, | 1280 | .suppress_bind_attrs = true, |
1281 | .pm = &imx6_pcie_pm_ops, | 1281 | .pm = &imx6_pcie_pm_ops, |
1282 | .probe_type = PROBE_PREFER_ASYNCHRONOUS, | ||
1282 | }, | 1283 | }, |
1283 | .probe = imx6_pcie_probe, | 1284 | .probe = imx6_pcie_probe, |
1284 | .shutdown = imx6_pcie_shutdown, | 1285 | .shutdown = imx6_pcie_shutdown, |