Re: MMC: CRC Errors with 2GB cards

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Pierre Ossman <drzeus-list@...>
Cc: Roopesh <roopesh@...>, <linux-kernel@...>, Andrew Morton <akpm@...>
Date: Monday, October 29, 2007 - 5:50 am

Hi Pierrie, 

 Thanks for writing back. 

:     > -			} while (!(cmd.resp[0] & R1_READY_FOR_DATA));
:     > -
:     > +			} while (!(R1_CURRENT_STATE(cmd.resp[0]) == 4)); 
:     > +			
:     >  #if 0
:     
:     This might trade us one problem for another. Could you try the following:
:     
:     } while (!(cmd.resp[0] & R1_READY_FOR_DATA) || (R1_CURRENT_STATE(cmd.resp[0]) == 7));
:
:     
:     This should also work for cards that mishandle the state field, and if the card jumps to
:     some odd state for some reason.
:     
:     > 
:     >  I am just wondering if I have set of broken cards.  Any pointers 
:     >  in this regard?
:     > 
:     
:     You do. But don't be too alarmed, that is unfortunately the norm. :/
:     

 I have purchased 4 Transcend cards, and all of them behave the 
 same way.  Just wondering why others dont have this problem, and 
 why such a fix hasn't made it to main tree yet.

 I have tried the fix, and it works fine.  Thanks.

 Roopesh.
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
MMC: CRC Errors with 2GB cards, Roopesh, (Fri Oct 19, 12:17 pm)
Re: MMC: CRC Errors with 2GB cards, Pierre Ossman, (Sat Oct 27, 8:00 am)
Re: MMC: CRC Errors with 2GB cards, Roopesh, (Mon Oct 29, 5:50 am)
Re: MMC: CRC Errors with 2GB cards, Pierre Ossman, (Wed Oct 31, 3:55 pm)
Re: MMC: CRC Errors with 2GB cards, Roopesh, (Thu Nov 1, 6:39 am)