diff mbox

[2/2] dw_mmc: Enable low-power mode for the card clock.

Message ID AANLkTikkCeo2YSyw_w7Qny0k9iugrM59pFWDTSwQx=i2@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Will Newton Feb. 10, 2011, 10:40 a.m. UTC
None
diff mbox

Patch

diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c
index 0b0bedd..4cf560d 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)
 			     SDMMC_CMD_UPD_CLK | SDMMC_CMD_PRV_DAT_WAIT, 0);

 		/* enable clock */
-		mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE);
+		mci_writel(host, CLKENA, SDMMC_CLKEN_ENABLE |
+			   SDMMC_CLKEN_LOW_PWR);

 		/* inform CIU */
 		mci_send_cmd(slot,