From: Arnd Hannemann <arnd@arndnet.de>
To: Ohad Ben-Cohen <ohad@wizery.com>
Cc: linux-mmc@vger.kernel.org, Chris Ball <cjb@laptop.org>
Subject: Re: [PATCH] [RFC] mmc: perform SDIO reset on power restore of host
Date: Tue, 28 Dec 2010 15:03:08 +0100 [thread overview]
Message-ID: <4D19EE1C.9050801@arndnet.de> (raw)
In-Reply-To: <AANLkTi=aWkV3gkK-O6ncbnkdyv+WTHqVcuSj+2NJztg7@mail.gmail.com>
Hi Ohad,
Am 28.12.2010 13:45, schrieb Ohad Ben-Cohen:
> On Tue, Dec 28, 2010 at 1:25 PM, Arnd Hannemann <arnd@arndnet.de> wrote:
>> On some boards card power is hard wired to the slot
>> and active regardless of host controller state.
> ...
>> This was observed on AP4EVB with tmio_mmc and a b43 based
>> SDIO card:
>> http://marc.info/?l=linux-mmc&m=128854536521274&w=2
>
> Do you mean that your card is always powered on regardless of
> mmc_power_off() invocations ?
Yes, it seems so.
> I always wondered why SDIO runtime PM didn't work with your card, so
> thanks for the follow up on this.
>
> That said, if you card can't be powered down, then it shouldn't be
> MMC_CAP_POWER_OFF_CARD at all (which literally means that the card can
> be powered down).
>
> And if it isn't MMC_CAP_POWER_OFF_CARD, then runtime PM will stay
> disabled for the card, so the problem you describe can't happen.
Even if the card is kept powered, when mmc_power_off() is called, the
host controller will stop the SD bus clock. So I believe at least some
power is saved this way and MMC_CAP_POWER_OFF_CARD makes sense?
Thanks,
Arnd
next prev parent reply other threads:[~2010-12-28 14:03 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-28 11:25 [PATCH] [RFC] mmc: perform SDIO reset on power restore of host Arnd Hannemann
2010-12-28 12:45 ` Ohad Ben-Cohen
2010-12-28 14:03 ` Arnd Hannemann [this message]
2010-12-28 14:24 ` Ohad Ben-Cohen
2010-12-29 10:35 ` Arnd Hannemann
2010-12-29 12:11 ` Ohad Ben-Cohen
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=4D19EE1C.9050801@arndnet.de \
--to=arnd@arndnet.de \
--cc=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.