All of lore.kernel.org
 help / color / mirror / Atom feed
From: Chris Ball <cjb@laptop.org>
To: Ohad Ben-Cohen <ohad@wizery.com>
Cc: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>
Subject: Re: [PATCH 3/3] mmc: sdio: don't power up cards on system suspend
Date: Fri, 17 Dec 2010 01:00:27 +0000	[thread overview]
Message-ID: <20101217010026.GF17239@void.printf.net> (raw)
In-Reply-To: <1290921690-6133-4-git-send-email-ohad@wizery.com>

Hi Ohad,

On Sun, Nov 28, 2010 at 07:21:30AM +0200, Ohad Ben-Cohen wrote:
> Initial SDIO runtime PM implementation took a conservative approach
> of powering up cards (and fully reinitializing them) on system suspend,
> just before the suspend handlers of the relevant drivers were executed.
> 
> To avoid redundant power and reinitialization cycles, this patch removes
> this behavior: if a card is already powered off when system suspend kicks
> in, it is left at that state.
> 
> If a card is active when a system sleep starts, everything is
> straightforward and works exactly like before. But if the card was
> already suspended before the sleep began, then when MMC core power it up
> back on resume, its run-time PM status has to be updated to reflect the
> actual post-system sleep status.
> 
> The technique to do that is borrowed from the I2C runtime PM
> implementation (for more info also see Documentation/power/runtime_pm.txt).
> 
> Signed-off-by: Ohad Ben-Cohen <ohad@wizery.com>

Thanks, pushed to mmc-next.

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

      reply	other threads:[~2010-12-17  1:00 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-11-28  5:21 [PATCH 0/3] SDIO suspend/resume optimizations Ohad Ben-Cohen
2010-11-28  5:21 ` [PATCH 1/3] mmc: skip detection of nonremovable cards on rescan Ohad Ben-Cohen
2010-12-17  0:51   ` Chris Ball
2010-12-19 22:11     ` Ohad Ben-Cohen
2011-03-04  2:22       ` [PATCH 1/3] mmc: skip detection of nonremovable cards on rescan - card removal detection regression Maxim Levitsky
2011-03-04  2:28         ` Chris Ball
2011-03-04  2:52           ` Maxim Levitsky
2011-03-04  5:25             ` Jaehoon Chung
2011-03-04 15:40               ` Maxim Levitsky
2011-03-05 15:03         ` Ohad Ben-Cohen
2011-03-07 19:01           ` Dmitry Shmidt
2011-03-08 16:44             ` Ohad Ben-Cohen
2011-03-08 17:02               ` Maxim Levitsky
2011-03-08 21:10                 ` Ohad Ben-Cohen
2010-11-28  5:21 ` [PATCH 2/3] mmc: sdio: don't reinitialize nonremovable powered-resumed cards Ohad Ben-Cohen
2010-11-28  8:42   ` Michał Mirosław
2010-11-28  8:46     ` Ohad Ben-Cohen
2010-11-28  8:58       ` Ohad Ben-Cohen
2010-12-17  0:53   ` Chris Ball
2010-11-28  5:21 ` [PATCH 3/3] mmc: sdio: don't power up cards on system suspend Ohad Ben-Cohen
2010-12-17  1:00   ` Chris Ball [this message]

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=20101217010026.GF17239@void.printf.net \
    --to=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=ohad@wizery.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 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.