mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Roopesh <roopesh@cyberspace.org>
To: Pierre Ossman <drzeus-list@drzeus.cx>
Cc: Roopesh <roopesh@cyberspace.org>,
	linux-kernel@vger.kernel.org,
	Andrew Morton <akpm@linux-foundation.org>
Subject: Re: MMC: CRC Errors with 2GB cards
Date: Mon, 29 Oct 2007 05:50:15 -0400	[thread overview]
Message-ID: <20071029095015.GA20714@grex.cyberspace.org> (raw)
In-Reply-To: <20071027140017.41e9d67f@poseidon.drzeus.cx>

 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.

  reply	other threads:[~2007-10-29  9:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-19 16:17 Roopesh
2007-10-27 12:00 ` Pierre Ossman
2007-10-29  9:50   ` Roopesh [this message]
2007-10-31 19:55     ` Pierre Ossman
2007-11-01 10:39       ` Roopesh

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20071029095015.GA20714@grex.cyberspace.org \
    --to=roopesh@cyberspace.org \
    --cc=akpm@linux-foundation.org \
    --cc=drzeus-list@drzeus.cx \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

Powered by JetHome