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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, Feb 10, 2011 at 10:40:57AM +0000, Will Newton wrote:
> 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@xxxxxxxxxx>
> ---
>  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 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,

Pushed to mmc-next for .39, thanks.

-- 
Chris Ball   <cjb@xxxxxxxxxx>   <http://printf.net/>
One Laptop Per Child
--
To unsubscribe from this list: send the line "unsubscribe linux-mmc" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux