diff options
-rw-r--r-- | drivers/pci/host/pcie-rcar.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/pci/host/pcie-rcar.c b/drivers/pci/host/pcie-rcar.c index 8f5490f443ff..a910f795bfee 100644 --- a/drivers/pci/host/pcie-rcar.c +++ b/drivers/pci/host/pcie-rcar.c | |||
@@ -342,7 +342,8 @@ static void rcar_pcie_setup_window(int win, struct rcar_pcie *pcie) | |||
342 | res_start = res->start; | 342 | res_start = res->start; |
343 | 343 | ||
344 | rcar_pci_write_reg(pcie, upper_32_bits(res_start), PCIEPARH(win)); | 344 | rcar_pci_write_reg(pcie, upper_32_bits(res_start), PCIEPARH(win)); |
345 | rcar_pci_write_reg(pcie, lower_32_bits(res_start), PCIEPARL(win)); | 345 | rcar_pci_write_reg(pcie, lower_32_bits(res_start) & ~0x7F, |
346 | PCIEPARL(win)); | ||
346 | 347 | ||
347 | /* First resource is for IO */ | 348 | /* First resource is for IO */ |
348 | mask = PAR_ENABLE; | 349 | mask = PAR_ENABLE; |