projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f037ade
)
drivers: mmc: Fix minimal frequency assignment
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 3 Feb 2010 20:44:21 +0000
(12:44 -0800)
committer
Arve Hjønnevåg
<arve@android.com>
Mon, 8 Feb 2010 23:08:40 +0000
(15:08 -0800)
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
drivers/mmc/core/core.c
patch
|
blob
|
history
diff --git
a/drivers/mmc/core/core.c
b/drivers/mmc/core/core.c
index de01a899d01f83124064a794fd6e964579bb5796..3bc1081a464180d538c5e3b6af637fe7bf3597ef 100644
(file)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-894,12
+894,7
@@
static void mmc_power_up(struct mmc_host *host)
*/
mmc_delay(10);
- if (host->f_min > 400000) {
- pr_warning("%s: Minimum clock frequency too high for "
- "identification mode\n", mmc_hostname(host));
- host->ios.clock = host->f_min;
- } else
- host->ios.clock = 400000;
+ host->ios.clock = host->f_min;
host->ios.power_mode = MMC_POWER_ON;
mmc_set_ios(host);