summaryrefslogtreecommitdiffstats
path: root/drivers/mmc
diff options
context:
space:
mode:
authorSan Mehat <san@google.com>2009-12-01 10:10:47 -0800
committerDaniel Walker <dwalker@codeaurora.org>2010-03-18 13:37:20 -0700
commit24bbd7d5b422cde6a149ac2f9ac6e61e66536532 (patch)
treec0abdf5257452c8b6d1778e4f2bb4bd686f26a0b /drivers/mmc
parent673ce00d7cb4ec060b5091992959da4a1d91c634 (diff)
downloadblackbird-op-linux-24bbd7d5b422cde6a149ac2f9ac6e61e66536532.tar.gz
blackbird-op-linux-24bbd7d5b422cde6a149ac2f9ac6e61e66536532.zip
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.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/mmc/host/msm_sdcc.c b/drivers/mmc/host/msm_sdcc.c
index 6e50939b6f88..d42a2dd69325 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;
OpenPOWER on IntegriCloud