[PATCH] drivers/mci: fix read/write stalling

Robert Jarzmik robert.jarzmik at free.fr
Tue Feb 28 07:34:24 EST 2012


Sascha Hauer <s.hauer at pengutronix.de> writes:

> On Mon, Feb 27, 2012 at 11:45:28PM +0100, Robert Jarzmik wrote:
> Do we have to send CMD12 even when a single block transfer failed?
Yes, we should.

For instance, the PXA host can stall even on a single block read. The spec
states that only a "Operation Complete" or "CMD12" brings back the card to
"tran" state. If a CRC error occurs in the middle of the read, the card has the
right to stay in "data" state.

-- 
Robert



More information about the barebox mailing list