From: Will Newton Date: Thu, 10 Feb 2011 10:40:57 +0000 (+0000) Subject: mmc: dw_mmc: Enable low-power mode for the card clock. X-Git-Tag: upstream/snapshot3+hdmi~11159^2~38 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=aadb9f4110096876c6f03073415439f76f0c61ca;p=platform%2Fadaptation%2Frenesas_rcar%2Frenesas_kernel.git 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 Signed-off-by: Chris Ball --- diff --git a/drivers/mmc/host/dw_mmc.c b/drivers/mmc/host/dw_mmc.c index c01cb86..cd6d821 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,