[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20080225182441.1ed38617@mjolnir.drzeus.cx>
Date: Mon, 25 Feb 2008 18:24:41 +0100
From: Pierre Ossman <drzeus@...eus.cx>
To: Haavard Skinnemoen <hskinnemoen@...el.com>
Cc: linux-kernel@...r.kernel.org, kernel@...32linux.org
Subject: Re: MMC card detection
On Thu, 21 Feb 2008 19:46:20 +0100
Haavard Skinnemoen <hskinnemoen@...el.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
Download attachment "signature.asc" of type "application/pgp-signature" (198 bytes)
Powered by blists - more mailing lists