aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/s3c2410.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/s3c2410.c b/drivers/mtd/nand/s3c2410.c
index 512acfc89012..21a2cc8636df 100644
--- a/drivers/mtd/nand/s3c2410.c
+++ b/drivers/mtd/nand/s3c2410.c
@@ -401,7 +401,7 @@ static int s3c2410_nand_correct_data(struct mtd_info *mtd, u_char *dat,
401 if ((diff0 & ~(1<<fls(diff0))) == 0) 401 if ((diff0 & ~(1<<fls(diff0))) == 0)
402 return 1; 402 return 1;
403 403
404 return 0; 404 return -1;
405} 405}
406 406
407/* ECC functions 407/* ECC functions