mmc: msm_sdcc: Enable busclk idle timer for power savings
authorSan Mehat <san@google.com>
Tue, 1 Dec 2009 18:10:47 +0000 (10:10 -0800)
committerDaniel Walker <dwalker@codeaurora.org>
Thu, 18 Mar 2010 20:37:20 +0000 (13:37 -0700)
Signed-off-by: San Mehat <san@google.com>
Signed-off-by: Daniel Walker <dwalker@codeaurora.org>
drivers/mmc/host/msm_sdcc.c

index 6e50939b6f88f9a4104c450b069162c1156811a0..d42a2dd693251ede722b631071b3f7a1721f013c 100644 (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;