[MTD] [NAND] make s3c2410 indicate an error for multi-bit read errors
commit4fac9f698404a5cd50b978fbdb7e54235353c215
authorMatt Reimer <mreimer@vpop.net>
Fri, 19 Oct 2007 01:02:44 +0000 (18 18:02 -0700)
committerDavid Woodhouse <dwmw2@infradead.org>
Sat, 12 Jan 2008 14:46:31 +0000 (12 14:46 +0000)
tree0670f169887b40b2772a4de82b52d9cb5c2a519f
parentde7921f01a407e0cb38143363995db89a5f9a5c5
[MTD] [NAND] make s3c2410 indicate an error for multi-bit read errors

If there were multiple bit errors in the data s3c2410_nand_correct_data()
was returning 0 (no error) instead of -1, so the upper layers (like JFFS2)
would not know the data is corrupt.

Signed-off-by: Matt Reimer <mreimer@vpop.net>
Signed-off-by: David Woodhouse <dwmw2@infradead.org>
drivers/mtd/nand/s3c2410.c