aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc
diff options
context:
space:
mode:
authorUlf Hansson <ulf.hansson@stericsson.com>2011-04-05 11:41:42 +0200
committerSebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>2011-04-07 13:26:52 +0200
commita0e9b86d3bb29f82972731f816cd81770e1c5ffa (patch)
tree1db1081f0c8eba5156f71ed8298f78a501db9e5f /drivers/mmc
parentac57283de5bb49b06fb68ac3d67d42c30cfdb60f (diff)
MMCI: Use powersave bit in the clock registeru8500-android-2.3_v0.54
When the clock enable bit is set, also enable the power save bit. This means the clock output will be disabled when the bus is idle. ST-Ericsson ID: 332432 Change-Id: I23898c2dbc3b071d49d80134c297d9b764c686f3 Signed-off-by: Ulf Hansson <ulf.hansson@stericsson.com> Signed-off-by: Mikael Gullberg <mikael.xx.gullberg@stericsson.com> Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/19975 Reviewed-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com> Tested-by: Sebastian RASMUSSEN <sebastian.rasmussen@stericsson.com>
Diffstat (limited to 'drivers/mmc')
-rw-r--r--drivers/mmc/host/mmci.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/mmc/host/mmci.c b/drivers/mmc/host/mmci.c
index 1f4a6b9e055..023ecb29f5e 100644
--- a/drivers/mmc/host/mmci.c
+++ b/drivers/mmc/host/mmci.c
@@ -260,9 +260,7 @@ static void mmci_set_clkreg(struct mmci_host *host, unsigned int desired)
}
clk |= variant->clkreg_enable;
- clk |= MCI_CLK_ENABLE;
- /* This hasn't proven to be worthwhile */
- /* clk |= MCI_CLK_PWRSAVE; */
+ clk |= MCI_CLK_ENABLE | MCI_CLK_PWRSAVE;
}
if (host->mmc->ios.bus_width == MMC_BUS_WIDTH_4)