[RFC v1 08/18] PCI: fu740: Allow asynchronous probing for background link training
Anand Moon <[email protected]>
| Newsgroups | dev.linux.lists.sophgo,dev.linux.lists.imx,org.infradead.lists.linux-amlogic,org.infradead.lists.linux-riscv,org.kernel.vger.linux-kernel,org.kernel.vger.linux-omap,org.kernel.vger.linux-pci,org.kernel.vger.linux-samsung-soc,org.kernel.vger.linux-tegra,org.ozlabs.lists.linuxppc-dev |
|---|---|
| Message-ID | <[email protected]> |
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. Fix the identation of the callback functions. Signed-off-by: Anand Moon <[email protected]> --- drivers/pci/controller/dwc/pcie-fu740.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/drivers/pci/controller/dwc/pcie-fu740.c b/drivers/pci/controller/dwc/pcie-fu740.c index 66367252032b..aa6a15baf3fd 100644 --- a/drivers/pci/controller/dwc/pcie-fu740.c +++ b/drivers/pci/controller/dwc/pcie-fu740.c @@ -346,9 +346,10 @@ static const struct of_device_id fu740_pcie_of_match[] = { static struct platform_driver fu740_pcie_driver = { .driver = { - .name = "fu740-pcie", - .of_match_table = fu740_pcie_of_match, - .suppress_bind_attrs = true, + .name = "fu740-pcie", + .of_match_table = fu740_pcie_of_match, + .suppress_bind_attrs = true, + .probe_type = PROBE_PREFER_ASYNCHRONOUS, }, .probe = fu740_pcie_probe, .shutdown = fu740_pcie_shutdown, -- 2.50.1