commit | 6a79e391df295bd7c2aa1309ea5031f361c197fd | [log] [tgz] |
---|---|---|
author | Adrian Hunter <ext-adrian.hunter@nokia.com> | Wed Dec 31 18:21:17 2008 +0100 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Wed Dec 31 18:21:17 2008 +0100 |
tree | 81789b2131bfd64c6478cd979bb35b4d6df94186 | |
parent | a0d045cac9bcb3e9a9796d596415f7ffb64852e2 [diff] |
mmc_block: ensure all sectors that do not have errors are read If a card encounters an ECC error while reading a sector it will timeout. Instead of reporting the entire I/O request as having an error, redo the I/O one sector at a time so that all readable sectors are provided to the upper layers. Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com> Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>