public inbox for linux-mmc@vger.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Will Newton <will.newton@gmail.com>
Cc: linux-mmc@vger.kernel.org
Subject: Re: [PATCH 2/2] dw_mmc: Enable low-power mode for the card clock.
Date: Thu, 10 Feb 2011 19:44:31 +0000	[thread overview]
Message-ID: <20110210194431.GB19076@void.printf.net> (raw)
In-Reply-To: <AANLkTikkCeo2YSyw_w7Qny0k9iugrM59pFWDTSwQx=i2@mail.gmail.com>

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@imgtec.com>
> ---
>  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@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2011-02-10 19:44 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-02-10 10:40 [PATCH 2/2] dw_mmc: Enable low-power mode for the card clock Will Newton
2011-02-10 19:44 ` Chris Ball [this message]
  -- strict thread matches above, loose matches on Subject: below --
2011-02-04 11:17 Will Newton

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110210194431.GB19076@void.printf.net \
    --to=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=will.newton@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox