diff options
author | Sonic Zhang <sonic.zhang@analog.com> | 2010-07-12 15:50:56 +0800 |
---|---|---|
committer | Chris Ball <cjb@laptop.org> | 2010-10-23 21:11:22 +0800 |
commit | 061c6c847eeb11743e489a16e907b41c6f9042b6 (patch) | |
tree | 37bb835b50342cc459366e36da1117b137760f6d /Documentation | |
parent | 95f25efe0ce22e28d61722d655d2ef582f5f7520 (diff) |
mmc_spi: Recover from CRC errors for r/w operation over SPI.
The SPI bus is not reliable for large data transfers on all platforms.
The current mmc_spi driver fails SD read/write commands immediately if
occasional CRC errors are reported by the SD device. This patch makes
the operation recover from CRC errors by repeating the last SD command.
The retry count is set to 5 to ensure the driver passes stress tests.
Signed-off-by: Sonic Zhang <sonic.zhang@analog.com>
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Chris Ball <cjb@laptop.org>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions