aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mtd
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mtd')
-rw-r--r--drivers/mtd/nand/nand_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mtd/nand/nand_base.c b/drivers/mtd/nand/nand_base.c
index 512066e3d143..671f228d4c7c 100644
--- a/drivers/mtd/nand/nand_base.c
+++ b/drivers/mtd/nand/nand_base.c
@@ -3487,7 +3487,7 @@ int nand_scan_tail(struct mtd_info *mtd)
3487 3487
3488 /* propagate ecc info to mtd_info */ 3488 /* propagate ecc info to mtd_info */
3489 mtd->ecclayout = chip->ecc.layout; 3489 mtd->ecclayout = chip->ecc.layout;
3490 mtd->ecc_strength = chip->ecc.strength * chip->ecc.steps; 3490 mtd->ecc_strength = chip->ecc.strength;
3491 3491
3492 /* Check, if we should skip the bad block table scan */ 3492 /* Check, if we should skip the bad block table scan */
3493 if (chip->options & NAND_SKIP_BBTSCAN) 3493 if (chip->options & NAND_SKIP_BBTSCAN)