linux-mmc.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Michał Mirosław" <mirqus@gmail.com>
To: Chris Ball <cjb@laptop.org>
Cc: Bing Zhao <bzhao@marvell.com>,
	linux-mmc@vger.kernel.org, Nicolas Pitre <nico@fluxnic.net>,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [PATCH] sdio: add MMC_PM_SKIP_RESUME_PROBE to workaround powered resume
Date: Wed, 1 Sep 2010 20:40:01 +0200	[thread overview]
Message-ID: <AANLkTinSO-SMyXCv3r-p5TOgWSkyyrSSe3KJX5V=7kHW@mail.gmail.com> (raw)
In-Reply-To: <m339tz6agq.fsf@pullcord.laptop.org>

2010/8/27 Chris Ball <cjb@laptop.org>:
> Any comments on this patch from the list?
>
> From: Bing Zhao <bzhao@marvell.com>
> Date: Wed, 21 Jul 2010 18:46:55 -0700
>
> Marvell 8686/8688 device will not respond to re-probe attemps
> in powered resume, if the card is in sleep mode.
> The added MMC_PM_SKIP_RESUME_PROBE flag is checked so that
> call to mmc_sdio_init_card() can be skipped.
[patch cut]

Simplified SDIO spec v.2.00 (section 6.14 - Bus State Diagram)
suggests, that initialization commands (CMD5, CMD3) are not accepted
in CMD state. As the card stays in that state on powered suspend (no
resetting CMD52 nor power cycle is issued) then reinitialization
should be entirely skipped on resume unless the power was lost between
suspend and resume (or card was temporarily removed from the slot).

Best Regards,
Michał Mirosław

  parent reply	other threads:[~2010-09-01 18:40 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-07-22  1:46 [PATCH] sdio: add MMC_PM_SKIP_RESUME_PROBE to workaround powered resume Bing Zhao
2010-08-27 20:56 ` Chris Ball
2010-08-27 22:16   ` Nicolas Pitre
2010-08-27 22:19     ` Nicolas Pitre
2010-09-01 18:40   ` Michał Mirosław [this message]
2010-09-01 23:56     ` Bing Zhao
     [not found]       ` <AANLkTikaXB8t2yFMeU8z6KZH5M2=+MdDh08yFeGqdwE3@mail.gmail.com>
2010-09-02  1:36         ` Bing Zhao

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='AANLkTinSO-SMyXCv3r-p5TOgWSkyyrSSe3KJX5V=7kHW@mail.gmail.com' \
    --to=mirqus@gmail.com \
    --cc=akpm@linux-foundation.org \
    --cc=bzhao@marvell.com \
    --cc=cjb@laptop.org \
    --cc=linux-mmc@vger.kernel.org \
    --cc=nico@fluxnic.net \
    /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;
as well as URLs for NNTP newsgroup(s).