summaryrefslogtreecommitdiff
path: root/arch/sh/drivers/pci/ops-sh7786.c
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/drivers/pci/ops-sh7786.c')
-rw-r--r--arch/sh/drivers/pci/ops-sh7786.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/arch/sh/drivers/pci/ops-sh7786.c b/arch/sh/drivers/pci/ops-sh7786.c
index 79a5dda..4728199 100644
--- a/arch/sh/drivers/pci/ops-sh7786.c
+++ b/arch/sh/drivers/pci/ops-sh7786.c
@@ -58,6 +58,9 @@ static int sh7786_pcie_config_access(unsigned char access_type,
else
pci_write_reg(chan, *data, SH4A_PCIEPDR);
+ /* Disable the configuration access */
+ pci_write_reg(chan, 0, SH4A_PCIEPCTLR);
+
return PCIBIOS_SUCCESSFUL;
}