Re: mmc_spi stopped working

From: Pierre Ossman
Date: Wed Oct 17 2007 - 15:52:33 EST


On Wed, 17 Oct 2007 12:37:13 -0700
David Brownell <david-b@xxxxxxxxxxx> wrote:

>
> That issue is 49dce689ad4ef0fd1f970ef762168e4bd46f69a3, the
> classdev-elimination patch from Tony Jones. It broke the
> "does this bus have more than one device" test by relocating
> the relevant sysfs nodes.
>
> Quick workaround for that one is to disable the fault return
> after that test.
>

Annoying. Feel free to ping me when you've pushed fixes to Linus.

> When enumerating MMC cards using SPI, don't support the "just probe"
> mechanism since it doesn't always work. Instead, always wait for the
> reset to complete before issuing the next request.
>
> This is a regression ... this SanDisk MMC card used to enumerate with
> no trouble, despite this particular spec violation.
>
> Signed-off-by: David Brownell <dbrownell@xxxxxxxxxxxxxxxxxxxxx>
>

I think I'll have to NAK this as I believe it breaks MMC 4.2. I'll check
and get back to you.

Rgds
--
-- Pierre Ossman

Linux kernel, MMC maintainer http://www.kernel.org
PulseAudio, core developer http://pulseaudio.org
rdesktop, core developer http://www.rdesktop.org
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/