Messages in this thread | | | Date | Mon, 29 Oct 2007 05:50:15 -0400 | From | Roopesh <> | Subject | Re: MMC: CRC Errors with 2GB cards |
| |
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 majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |