From 04bf9e2d7bc641e2c73437668389a10da84f15ab Mon Sep 17 00:00:00 2001 From: mokopatches Date: Wed, 19 Nov 2008 17:03:22 +0000 Subject: fix-hwecc-2410.patch S3C24xx ECC mis-calculates the bit to flip: http://lists.infradead.org/pipermail/linux-mtd/2007-October/019586.html If the error couldn't be corrected, we returned "no problem" :-( http://lists.infradead.org/pipermail/linux-mtd/2007-October/019615.html Signed-off-by: Werner Almesberger --- drivers/mtd/nand/s3c2410.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/mtd') diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c index aeb5139f196..85b02e7c36e 100644 --- a/drivers/mtd/nand/s3c2410.c +++ b/drivers/mtd/nand/s3c2410.c @@ -438,7 +438,7 @@ static int s3c2410_nand_correct_data(struct mtd_info *mtd, u_char *dat, if ((diff0 & ~(1<