AT91 MMC 4 : Interrupt handler cleanup
authorAndrew Victor <andrew@sanpeople.com>
Mon, 23 Oct 2006 12:50:09 +0000 (14:50 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Mon, 11 Dec 2006 08:47:12 +0000 (09:47 +0100)
commitdf05a303e3b8a0c32764941200bec76d729126bc
tree099cc16615b73c72f8e0f60e6bce2b8f66804524
parent3dd3b039d489dfbc907c64a161fd2231ddcdea48
AT91 MMC 4 : Interrupt handler cleanup

This patch simplifies the AT91RM9200 MMC interrupt handler code so that
it doesn't re-read the Interrupt Status and Interrupt Mask registers
multiple times.

Also defined AT91_MCI_ERRORS instead of using the hard-coded 0xffff0000.

Signed-off-by: Andrew Victor <andrew@sanpeople.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/at91_mci.c