Re: MMC: CRC Errors with 2GB cards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux