mmc: msm_sdcc: Enable busclk idle timer for power savings

Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
This commit is contained in:
San Mehat 2009-12-01 10:10:47 -08:00 committed by Daniel Walker
parent 673ce00d7c
commit 24bbd7d5b4
1 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,7 @@
#define DRIVER_NAME "msm-sdcc"
#define BUSCLK_PWRSAVE 0
#define BUSCLK_PWRSAVE 1
#define BUSCLK_TIMEOUT (HZ)
static unsigned int msmsdcc_fmin = 144000;
static unsigned int msmsdcc_fmax = 50000000;
@ -72,7 +72,6 @@ msmsdcc_disable_clocks(struct msmsdcc_host *host, int deferr)
mod_timer(&host->busclk_timer, jiffies + BUSCLK_TIMEOUT);
} else {
del_timer_sync(&host->busclk_timer);
// dev_info(mmc_dev(host->mmc), "Immediate clock shutdown\n");
clk_disable(host->clk);
clk_disable(host->pclk);
host->clks_on = 0;