From: James Hogan Date: Wed, 29 Jun 2011 08:30:47 +0000 (+0100) Subject: mmc: dw_mmc: reset FIFO after an error X-Git-Tag: v3.1-rc1~321^2~40 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=94dd5b3371c989b32685a00a54cba7bb530f864d;p=pandora-kernel.git mmc: dw_mmc: reset FIFO after an error If an error occurs mid way through a transaction (such as a missing CRC status response after the 2nd block written out of 3), then the FIFO may still contain data which will interfere with the next transaction. Therefore after an error has been detected, reset the fifo using the CTRL register. Signed-off-by: James Hogan Acked-by: Will Newton Tested-by: Jaehoon Chung Signed-off-by: Chris Ball --- Reading git-diff-tree failed