diff options
author | San Mehat <san@google.com> | 2009-12-01 10:10:47 -0800 |
---|---|---|
committer | Daniel Walker <dwalker@codeaurora.org> | 2010-03-18 13:37:20 -0700 |
commit | 24bbd7d5b422cde6a149ac2f9ac6e61e66536532 (patch) | |
tree | c0abdf5257452c8b6d1778e4f2bb4bd686f26a0b /drivers/mmc | |
parent | 673ce00d7cb4ec060b5091992959da4a1d91c634 (diff) | |
download | kernel_samsung_smdk4412-24bbd7d5b422cde6a149ac2f9ac6e61e66536532.zip kernel_samsung_smdk4412-24bbd7d5b422cde6a149ac2f9ac6e61e66536532.tar.gz kernel_samsung_smdk4412-24bbd7d5b422cde6a149ac2f9ac6e61e66536532.tar.bz2 |
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>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/msm_sdcc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c index 6e50939..d42a2dd 100644 --- a/drivers/mmc/host/msm_sdcc.c +++ b/drivers/mmc/host/msm_sdcc.c @@ -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; |