Re: [PATCH] Fixes and enhancements for the MMC SPI driver

From: Wolfgang Mües
Date: Thu Jan 08 2009 - 03:22:26 EST


Matt,

Am Dienstag, 6. Januar 2009 schrieb Matt Fleming:
> Which cards are you having issues with?

This was a noname 4 GByte SDHC card. If you write a continious stream of data
at max. speed, the card generates a BUSY signal every 10 seconds for nearly a
whole second.

> Modifying the code to no longer abide by the standard doesn't seem like a
> win to me.

I strongly disagree with you.

While each and every SD card should conform to the standard, a driver for a
host controller should be as forgiving as possible. If the driver cannot cope
with cards sold today, the user has a bad experience.

I code drivers for people and not for standards.

Remember, this is only a timeout. Lengthen the timeout will have no
consequences for cards which behave.

best regards
 
i. A. Wolfgang Mües
--
Auerswald GmbH & Co. KG
Hardware Development
Telefon: +49 (0)5306 9219 0
Telefax: +49 (0)5306 9219 94
E-Mail: Wolfgang.Mues@xxxxxxxxxxxx
Web: http://www.auerswald.de
 
--------------------------------------------------------------
Auerswald GmbH & Co. KG, Vor den Grashöfen 1, 38162 Cremlingen
Registriert beim AG Braunschweig HRA 13289
p.h.G Auerswald Geschäftsführungsges. mbH
Registriert beim AG Braunschweig HRB 7463
Geschäftsführer: Dipl-Ing. Gerhard Auerswald
--
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/