[RFC][MMC] Buggy cards need to leave programming state

From: Pierre Ossman
Date: Mon Dec 26 2005 - 09:04:37 EST


I've gotten two reports for cards that just crap out during write
transfers. The solution I've given them is to make the mmc block layer
wait for the card to leave programming state.

>From the specs I have, this behaviour is required for SD cards, but not
MMC. The two bug reports I have are both for MMC though. So either these
cards are broken, or they patch works simply because it adds an extra delay.

(Oddly enough, I have yet to receive a report of a SD card that
misbehaves because of this.)

Russell, what's your take on this? Play it safe and put this patch in
mainline or do you have some ideas to test first?


Threads for bug reports:

http://list.drzeus.cx/pipermail/wbsd-devel/2005-October/000351.html
http://list.drzeus.cx/pipermail/wbsd-devel/2005-November/000388.html

Entries with relevant dumps:

http://list.drzeus.cx/pipermail/wbsd-devel/2005-November/000396.html
http://list.drzeus.cx/pipermail/wbsd-devel/2005-October/000361.html

Rgds
Pierre
-
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/