mmc: at91_mci: do not read irq status twice as it will forget some errors
authorNicolas Ferre <nicolas.ferre@atmel.com>
Fri, 30 May 2008 12:28:45 +0000 (14:28 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:42 +0000 (14:14 +0200)
Reading AT91_MCI_SR again at the end of transfer can corrupt the
error reporting. Some fields in the SR register are read-and-clear.

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

No differences found