]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
[MTD] [OneNAND] Do not stop reading for ECC errors
authorAdrian Hunter <ext-adrian.hunter@nokia.com>
Tue, 6 Nov 2007 07:17:25 +0000 (09:17 +0200)
committerDavid Woodhouse <dwmw2@infradead.org>
Mon, 26 Nov 2007 13:16:29 +0000 (13:16 +0000)
commit5f4d47d5d1060a93be83e33a167a53a7f8c08b20
treee3bd4b358774b59af30c8d23241cec19e29e9d76
parentb1c9c9be6da010510459aca93f5754efb19695ff
[MTD] [OneNAND] Do not stop reading for ECC errors

When an ECC error occurs, the read should be completed
anyway before returning -EBADMSG.  Returning -EBADMSG
straight away is incorrect.

Signed-off-by: Adrian Hunter <ext-adrian.hunter@nokia.com>
Acked-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/onenand/onenand_base.c