Skip to content

Commit 17bd5e4

Browse files
dianderskwilczynski
authored andcommitted
PCI: mediatek-gen3: Enable async probe by default
The mediatek-gen3 driver can run its probe routine fairly slow on some hardware, which adds to the total time it takes for the system start up. Thus, turn on async mode for the probe to avoid blocking the rest of the system. Link: https://lore.kernel.org/r/20241220145205.1.Ibf2563896c3b1fc133bb46d3fc96ad0041763922@changeid Signed-off-by: Douglas Anderson <[email protected]> [kwilczynski: commit log] Signed-off-by: Krzysztof Wilczyński <[email protected]> Reviewed-by: AngeloGioacchino Del Regno <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]>
1 parent 491cb9c commit 17bd5e4

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pci/controller/pcie-mediatek-gen3.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1335,6 +1335,7 @@ static struct platform_driver mtk_pcie_driver = {
13351335
.name = "mtk-pcie-gen3",
13361336
.of_match_table = mtk_pcie_of_match,
13371337
.pm = &mtk_pcie_pm_ops,
1338+
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
13381339
},
13391340
};
13401341

0 commit comments

Comments
 (0)