diff options
author | hanumath <hanumath.prasad@stericsson.com> | 2010-06-08 11:23:14 +0530 |
---|---|---|
committer | John Rigby <john.rigby@linaro.org> | 2010-09-02 22:45:40 -0600 |
commit | 7887c56332b09c9af1438529c6dfc69441de09ce (patch) | |
tree | 16ca01d777835d9614e7fced41c2e494f5393165 | |
parent | 4ce9043f3d87d561c79921fab695f137ecf84b22 (diff) |
MMC driver: enable SDI_CLKCR[PWRSAV] bit for power saving
Fix for enabling the power saving bit in the SDI controller
ST-Ericsson ID:ER 260243
Signed-off-by: hanumath <hanumath.prasad@stericsson.com>
Signed-off-by: Mian Yousaf Kaukab <mian.yousaf.kaukab@stericsson.com>
Change-Id: I45bbdf1ea6adce813006446647101a95fe0f448c
Reviewed-on: http://gerrit.lud.stericsson.com/gerrit/2531
Reviewed-by: Jonas ABERG <jonas.aberg@stericsson.com>
-rw-r--r-- | drivers/mmc/host/mmc-u8500.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/mmc/host/mmc-u8500.c b/drivers/mmc/host/mmc-u8500.c index 28d63b8547e..8e74f120aba 100644 --- a/drivers/mmc/host/mmc-u8500.c +++ b/drivers/mmc/host/mmc-u8500.c @@ -1354,6 +1354,8 @@ static void u8500_mmci_set_ios(struct mmc_host *mmc, struct mmc_ios *ios) host->cclk = host->mclk / (clk + 2); } } + if (host->devicemode == MCI_DMAMODE) + clk |= MCI_CLK_PWRSAVE; clk |= (MCI_HWFC_EN | MCI_CLK_ENABLE); writel(clk, host->base + MMCICLOCK); } |