[PATCH] mmci: fixup broken_blockend variant patch v2

Linus Walleij linus.ml.walleij at gmail.com
Wed Jan 19 18:52:33 EST 2011


2011/1/19 Russell King - ARM Linux <linux at arm.linux.org.uk>:
> On Wed, Jan 19, 2011 at 09:34:49PM +0100, Linus Walleij wrote:
>> 2011/1/18 Russell King - ARM Linux <linux at arm.linux.org.uk>:
>>
>> > How reliable is the FIFOCNT register ?
>>
>> Hmm... the FIFOCNT is just the FIFO.
>
> No, FIFOCNT.
>
>  The MCIFifoCnt register contains the remaining number of words to be
>  written to or read from the FIFO.

Yeah I B damned that's right. Sorry for the confusion. I'll respin
the latest patch on the FIFOCNT register instead and test
tomorrow.

But if the transfer is complete, MCIDataCnt should be valid
as well. I'll read the datasheet(s) closer and see if I get some
useful clues about which one is more reliable in the error
case.

Sorry for late night confusion...
Linus Walleij



More information about the linux-arm-kernel mailing list