aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorBjorn Helgaas <bhelgaas@google.com>2025-03-27 13:14:50 -0500
committerBjorn Helgaas <bhelgaas@google.com>2025-03-27 13:14:50 -0500
commit5edeea2d7ba63054aebe3de15008d29545260541 (patch)
treefd3441454550be9590bb9a53c24c54123c4a832b
parentMerge branch 'pci/controller/j721e' (diff)
parentPCI: layerscape: Fix arg_count to syscon_regmap_lookup_by_phandle_args() (diff)
downloadwireguard-linux-5edeea2d7ba63054aebe3de15008d29545260541.tar.xz
wireguard-linux-5edeea2d7ba63054aebe3de15008d29545260541.zip
Merge branch 'pci/controller/layerscape'
- Correct the syscon_regmap_lookup_by_phandle_args("fsl,pcie-scfg") arg_count to fix probe failure on LS1043A (Ioana Ciornei) * pci/controller/layerscape: PCI: layerscape: Fix arg_count to syscon_regmap_lookup_by_phandle_args()
-rw-r--r--drivers/pci/controller/dwc/pci-layerscape.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/pci/controller/dwc/pci-layerscape.c b/drivers/pci/controller/dwc/pci-layerscape.c
index 239a05b36e8e..a44b5c256d6e 100644
--- a/drivers/pci/controller/dwc/pci-layerscape.c
+++ b/drivers/pci/controller/dwc/pci-layerscape.c
@@ -356,7 +356,7 @@ static int ls_pcie_probe(struct platform_device *pdev)
if (pcie->drvdata->scfg_support) {
pcie->scfg =
syscon_regmap_lookup_by_phandle_args(dev->of_node,
- "fsl,pcie-scfg", 2,
+ "fsl,pcie-scfg", 1,
index);
if (IS_ERR(pcie->scfg)) {
dev_err(dev, "No syscfg phandle specified\n");