]> err.no Git - linux-2.6/commit
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)
commited99c541e0a15281c57530d54a4a5e3272f74fb9
tree55c5a90415b6d793cd952e85982163b0511d3073
parente8d04d3dba60bdc139644350fcc88f82e40129dc
mmc: at91_mci: fix hanging and rework to match flowcharts

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>
drivers/mmc/host/at91_mci.c