From: Pierre Ossman <drzeus@drzeus.cx>
To: Haavard Skinnemoen <hskinnemoen@atmel.com>
Cc: linux-kernel@vger.kernel.org, kernel@avr32linux.org
Subject: Re: MMC card detection
Date: Mon, 25 Feb 2008 18:24:41 +0100 [thread overview]
Message-ID: <20080225182441.1ed38617@mjolnir.drzeus.cx> (raw)
In-Reply-To: <20080221194620.6a3c0030@dhcp-252-066.norway.atmel.com>
[-- Attachment #1: Type: text/plain, Size: 825 bytes --]
On Thu, 21 Feb 2008 19:46:20 +0100
Haavard Skinnemoen <hskinnemoen@atmel.com> wrote:
>
> When the card is reinserted, the MMC core will try to send a
> SEND_STATUS command again. This time, the card won't respond because it
> is in the "idle" state, and the MMC core will think the card is gone.
>
> In order to fix this problem, I think I need a way to tell the MMC core
> that the card really is gone and that there's no point trying to
> communicate with it. Is there any way I can do that?
>
As you found out, you can. But the MMC core doesn't treat it
differently.
What is really needed is that the core should make an extra pass and
see if the card has been replaced by something else (and not just check
if it is gone). It's on my todo, but I haven't had time to implement it.
Rgds
Pierre
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-02-25 17:25 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-02-21 18:46 Haavard Skinnemoen
2008-02-21 20:31 ` Haavard Skinnemoen
2008-02-25 17:24 ` Pierre Ossman [this message]
2008-03-06 13:39 mmc " shri
2008-03-14 22:54 ` Pierre Ossman
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=20080225182441.1ed38617@mjolnir.drzeus.cx \
--to=drzeus@drzeus.cx \
--cc=hskinnemoen@atmel.com \
--cc=kernel@avr32linux.org \
--cc=linux-kernel@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®