diff options
author | Dmitry Shmidt <dimitrysh@google.com> | 2010-02-03 12:44:21 -0800 |
---|---|---|
committer | Zhang Jiejing <jiejing.zhang@freescale.com> | 2011-11-02 11:13:53 +0800 |
commit | f86b10563f0da6a5f374ecf2122fdd7474de27af (patch) | |
tree | d9ac2214fca55cf74bf1b6217cc17ec0dc2ba183 | |
parent | c1fede45286f3b34f0c208280bd6559330aac966 (diff) |
drivers: mmc: Fix minimal frequency assignment
Signed-off-by: Dmitry Shmidt <dimitrysh@google.com>
-rw-r--r-- | drivers/mmc/core/core.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index b5e66e8e1afb..374a9fc8f312 100644 --- a/drivers/mmc/core/core.c +++ b/drivers/mmc/core/core.c @@ -913,12 +913,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); |