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:
1939162
)
drivers: mmc: Fix minimal frequency assignment
author
Dmitry Shmidt
<dimitrysh@google.com>
Wed, 3 Feb 2010 20:44:21 +0000
(12:44 -0800)
committer
Colin Cross
<ccross@android.com>
Thu, 30 Sep 2010 00:49:15 +0000
(17:49 -0700)
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 bfde706b7236c1c078b29f53a65ed92a3460c8f1..5b94b71d1c5a356279467c4f8c677f49a191e052 100644
(file)
--- a/
drivers/mmc/core/core.c
+++ b/
drivers/mmc/core/core.c
@@
-910,12
+910,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);