From 1cb89ed9ee6172fea7d5884385187119e99aa3d0 Mon Sep 17 00:00:00 2001 From: Dmitry Shmidt Date: Wed, 3 Feb 2010 12:44:21 -0800 Subject: [PATCH] drivers: mmc: Fix minimal frequency assignment Signed-off-by: Dmitry Shmidt --- drivers/mmc/core/core.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/drivers/mmc/core/core.c b/drivers/mmc/core/core.c index bfde706b7236..5b94b71d1c5a 100644 --- 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); -- 2.34.1