All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Adrian Hunter <adrian.hunter@intel.com>
Cc: linux-mmc <linux-mmc@vger.kernel.org>
Subject: Re: [PATCH] mmc: sdhci-pci: add flag for devices that can support runtime PM
Date: Mon, 17 Oct 2011 08:56:56 -0400	[thread overview]
Message-ID: <m21uub93on.fsf@bob.laptop.org> (raw)
In-Reply-To: <1318837964-28654-1-git-send-email-adrian.hunter@intel.com> (Adrian Hunter's message of "Mon, 17 Oct 2011 10:52:44 +0300")

Hi Adrian,

On Mon, Oct 17 2011, Adrian Hunter wrote:
> Only allow runtime PM for devices that specifically indicate
> that they support it.
>
> Signed-off-by: Adrian Hunter <adrian.hunter@intel.com>
>  drivers/mmc/host/sdhci-pci.c |   17 +++++++++++++----
>  1 files changed, 13 insertions(+), 4 deletions(-)
>
> diff --git a/drivers/mmc/host/sdhci-pci.c b/drivers/mmc/host/sdhci-pci.c
> index f49b184..c22d810 100644
> --- a/drivers/mmc/host/sdhci-pci.c
> +++ b/drivers/mmc/host/sdhci-pci.c
> @@ -47,6 +47,7 @@ struct sdhci_pci_slot;
>  
>  struct sdhci_pci_fixes {
>  	unsigned int		quirks;
> +	unsigned int		allow_runtime_pm:1;

Thanks -- any objection to using a bool type instead for allow_runtime_pm?

-- 
Chris Ball   <cjb@laptop.org>   <http://printf.net/>
One Laptop Per Child

  reply	other threads:[~2011-10-17 12:57 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-17  7:52 [PATCH] mmc: sdhci-pci: add flag for devices that can support runtime PM Adrian Hunter
2011-10-17 12:56 ` Chris Ball [this message]
2011-10-17 13:59   ` Adrian Hunter
2011-10-17 14:09     ` Chris Ball

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=m21uub93on.fsf@bob.laptop.org \
    --to=cjb@laptop.org \
    --cc=adrian.hunter@intel.com \
    --cc=linux-mmc@vger.kernel.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.