commit | 9d9f25c036dd584db175552a7d162403d3ab54b3 | [log] [tgz] |
---|---|---|
author | Wolfgang Muees <wolfgang.mues@auerswald.de> | Tue Apr 07 14:48:16 2009 +0100 |
committer | Pierre Ossman <pierre@ossman.eu> | Wed Apr 08 20:37:53 2009 +0200 |
tree | 42aa05d8091832eb28ee2237e775e8b738af11d4 | |
parent | 00adadc12196c7b3e8923729e728162267e98ff7 [diff] |
mmc_spi: do not check CID and CSD blocks with CRC16 Some cards are not able to calculate a valid CRC16 value for CID and CSD reads (CRC for 512 byte data blocks is OK). By moving the CRC enable after the read of CID and CSD, these cards can be used. This patch was tested with a faulty 8 GByte takeMS Class 6 SDHC card. This patch was suggested by Pierre Ossman. Signed-off-by: Wolfgang Muees <wolfgang.mues@auerswald.de> Signed-off-by: Pierre Ossman <pierre@ossman.eu>