mmc_block: ensure all sectors that do not have errors are read
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Wed, 31 Dec 2008 17:21:17 +0000 (18:21 +0100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 31 Dec 2008 17:21:17 +0000 (18:21 +0100)
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>

No differences found