projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4a96550
)
[MMC] sdhci: reset sdhci controller early
author
Pierre Ossman
<drzeus@drzeus.cx>
Fri, 30 Jun 2006 09:22:30 +0000
(
02:22
-0700)
committer
Russell King
<rmk+kernel@arm.linux.org.uk>
Sun, 2 Jul 2006 15:54:54 +0000
(16:54 +0100)
The specification states that the capabilities register might need a reset to
get correct values after boot up.
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
drivers/mmc/sdhci.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mmc/sdhci.c
b/drivers/mmc/sdhci.c
index e37c8149249f3cbb2d2c97622589dcb76e63f8ee..06dec744d53e96b980be862157ec456181503420 100644
(file)
--- a/
drivers/mmc/sdhci.c
+++ b/
drivers/mmc/sdhci.c
@@
-1132,6
+1132,8
@@
static int __devinit sdhci_probe_slot(struct pci_dev *pdev, int slot)
goto release;
}
+ sdhci_reset(host, SDHCI_RESET_ALL);
+
version = readw(host->ioaddr + SDHCI_HOST_VERSION);
version = (version & SDHCI_SPEC_VER_MASK) >> SDHCI_SPEC_VER_SHIFT;
if (version != 0) {