aboutsummaryrefslogtreecommitdiff
path: root/drivers/mmc/host
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mmc/host')
-rw-r--r--drivers/mmc/host/mmc-u8500.c2
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);
}