projects
/
platform
/
upstream
/
kernel-adaptation-pc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fa7eb2
)
mxcmmc: decrease minimum frequency to make MMC cards work
author
Sascha Hauer
<s.hauer@pengutronix.de>
Fri, 3 Apr 2009 12:41:56 +0000
(14:41 +0200)
committer
Pierre Ossman
<pierre@ossman.eu>
Wed, 3 Jun 2009 19:40:04 +0000
(21:40 +0200)
This is a temporary workaround until the MMC stack can be fixed.
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Pierre Ossman <pierre@ossman.eu>
drivers/mmc/host/mxcmmc.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/host/mxcmmc.c
b/drivers/mmc/host/mxcmmc.c
index
b4a615c
..
5950102
100644
(file)
--- a/
drivers/mmc/host/mxcmmc.c
+++ b/
drivers/mmc/host/mxcmmc.c
@@
-724,7
+724,9
@@
static int mxcmci_probe(struct platform_device *pdev)
goto out_clk_put;
}
- mmc->f_min = clk_get_rate(host->clk) >> 7;
+ mmc->f_min = clk_get_rate(host->clk) >> 16;
+ if (mmc->f_min < 400000)
+ mmc->f_min = 400000;
mmc->f_max = clk_get_rate(host->clk) >> 1;
/* recommended in data sheet */