]> Git Repo - linux.git/commitdiff
PCI: layerscape: Fix wrong invocation of outbound window disable accessor
authorHou Zhiqiang <[email protected]>
Wed, 7 Nov 2018 05:16:49 +0000 (05:16 +0000)
committerLorenzo Pieralisi <[email protected]>
Tue, 20 Nov 2018 11:09:51 +0000 (11:09 +0000)
The order of parameters is not correct when invoking the outbound
window disable routine. Fix it.

Fixes: 4a2745d760fa ("PCI: layerscape: Disable outbound windows configured by bootloader")
Signed-off-by: Hou Zhiqiang <[email protected]>
[[email protected]: commit log]
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Cc: [email protected]
drivers/pci/controller/dwc/pci-layerscape.c

index 3724d3ef7008e88b59e398318fd212ad76b24c3a..7aa9a82b7ebd62043c5c8fd6c64c10b190cd1c9b 100644 (file)
@@ -88,7 +88,7 @@ static void ls_pcie_disable_outbound_atus(struct ls_pcie *pcie)
        int i;
 
        for (i = 0; i < PCIE_IATU_NUM; i++)
-               dw_pcie_disable_atu(pcie->pci, DW_PCIE_REGION_OUTBOUND, i);
+               dw_pcie_disable_atu(pcie->pci, i, DW_PCIE_REGION_OUTBOUND);
 }
 
 static int ls1021_pcie_link_up(struct dw_pcie *pci)
This page took 0.060113 seconds and 4 git commands to generate.