diff options
author | Will Newton <will.newton@gmail.com> | 2011-02-10 05:40:57 -0500 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-03-15 13:48:53 -0400 |
commit | aadb9f4110096876c6f03073415439f76f0c61ca (patch) | |
tree | 8e680a68fc3fc83c80627ab6974421d5b3f5c997 /drivers/mmc | |
parent | dd6c4b9807581b37bf68ba3cd160c6859f070d39 (diff) |
mmc: dw_mmc: Enable low-power mode for the card clock.
Setting this bit in the clock enable register will stop the clock
when the card is in the IDLE state.
Signed-off-by: Will Newton <will.newton@imgtec.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'drivers/mmc')
-rw-r--r-- | drivers/mmc/host/dw_mmc.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index c01cb8642fb5..cd6d8212dacc 100644 --- a/drivers/mmc/host/dw_mmc.c +++ b/drivers/mmc/host/dw_mmc.c | |||
@@ -562,7 +562,8 @@ static void dw_mci_setup_bus(struct dw_mci_slot *slot) | |||
562 | SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0); | 562 | SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0); |
563 | 563 | ||
564 | /* enable clock */ | 564 | /* enable clock */ |
565 | mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE); | 565 | mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE | |
566 | SDMMC_CLKEN_LOW_PWR); | ||
566 | 567 | ||
567 | /* inform CIU */ | 568 | /* inform CIU */ |
568 | mci_send_cmd(slot, | 569 | mci_send_cmd(slot, |