]> git.proxmox.com Git - mirror_ubuntu-jammy-kernel.git/commitdiff
PCI: imx6: Allow asynchronous probing
authorLucas Stach <l.stach@pengutronix.de>
Thu, 4 Apr 2019 16:45:17 +0000 (18:45 +0200)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 7 May 2019 14:01:01 +0000 (09:01 -0500)
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>
drivers/pci/controller/dwc/pci-imx6.c

index 3d627f94a16664d57a7eee76fc69dfdecadda19e..2eb39d5de4f65987356cc7901d03ca21076dcf68 100644 (file)
@@ -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,