diff options
author | James Hogan <james.hogan@imgtec.com> | 2011-06-29 09:30:47 +0100 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2011-07-20 17:21:06 -0400 |
commit | 94dd5b3371c989b32685a00a54cba7bb530f864d (patch) | |
tree | f25015abe7cc532eab00d48e8292d437903e7927 /kernel | |
parent | 55c5efbc0dbcb20b7f0d264d172ab376494d79a1 (diff) |
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 <james.hogan@imgtec.com>
Acked-by: Will Newton <will.newton@imgtec.com>
Tested-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions