projects
/
GitHub
/
exynos8895
/
android_kernel_samsung_universal8895.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c62e3fa
)
sh: pci: Toggle configuration accesses on SH7786.
author
Paul Mundt
<lethal@linux-sh.org>
Sun, 19 Sep 2010 04:54:50 +0000
(13:54 +0900)
committer
Paul Mundt
<lethal@linux-sh.org>
Sun, 19 Sep 2010 04:54:50 +0000
(13:54 +0900)
After configuration accesses have been completed deassert the
configuration access enable cleanly.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/drivers/pci/ops-sh7786.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/sh/drivers/pci/ops-sh7786.c
b/arch/sh/drivers/pci/ops-sh7786.c
index 79a5ddae733dbf718c195c6bd85b60d5c8ff7b94..4728199f71a6efa106088c23c20ac4b66ca1269c 100644
(file)
--- 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;
}