[RFC v1 08/18] PCI: fu740: Allow asynchronous probing for background link training

From: Anand Moon

Date: Wed Mar 04 2026 - 09:40:18 EST


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 <linux.amoon@xxxxxxxxx>
---
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