]> err.no Git - linux-2.6/commit
mmc: at91_mci: avoid timeouts
authorMarc Pignat <marc.pignat@hevs.ch>
Fri, 30 May 2008 12:07:47 +0000 (14:07 +0200)
committerPierre Ossman <drzeus@drzeus.cx>
Tue, 15 Jul 2008 12:14:42 +0000 (14:14 +0200)
commitc5a89c6c0805959f813e8342d6f4040860f6d7db
treeb6f0e3071d44196d1dd8dc5775e42996185a49b9
parente181dce8acab4f7d7c4772d2a8281510d503ab21
mmc: at91_mci: avoid timeouts

The at91 mci controller internal state machine seems to often crash. This can
be fixed by resetting the controller after each command for at91rm9200 and by
setting the MCI_BLKR register on at91sam926*.

Signed-off-by: Marc Pignat <marc.pignat@hevs.ch>
Signed-off-by: Hans J Koch <hjk@linutronix.de>
Signed-off-by: Nicolas Ferre <nicolas.ferre@atmel.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/at91_mci.c
include/asm-arm/arch-at91/at91_mci.h