mmc: at91_mci: fix hanging and rework to match flowcharts
authorNicolas Ferre <nicolas.ferre@rfo.atmel.com>
Mon, 9 Jul 2007 12:58:16 +0000 (14:58 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 9 Jul 2007 19:29:07 +0000 (21:29 +0200)
Fixes hanging using multi block operations (seen during CMD25).
Follows closely the datasheet flowcharts.

This piece of code handles better big file writing. I had to take care
of the notbusy signal during write (at91_mci_handle_cmdrdy function) and
to rearrange the AT91_MCI_ENDRX and AT91_MCI_RXBUFF flag usage.

Signed-off-by: Nicolas Ferre <nicolas.ferre@rfo.atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>

No differences found