Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 6a545a0d authored by Frank Haverkamp's avatar Frank Haverkamp Committed by David Woodhouse
Browse files

[MTD NAND] Fix in typo ndfc.c causing wrong ECC layout



Due to this typo, a wrong ECC layout table is chosen.

Signed-off-by: default avatarFrank Haverkamp <haver@vnet.ibm.com>
Signed-off-by: default avatarDavid Woodhouse <dwmw2@infradead.org>
parent 17c2dae3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ static void ndfc_chip_init(struct ndfc_nand_mtd *mtd)
	chip->ecc.mode = NAND_ECC_HW;
	chip->ecc.size = 256;
	chip->ecc.bytes = 3;
	chip->ecclayout = mtd->pl_chip->ecclayout;
	chip->ecclayout = chip->ecc.layout = mtd->pl_chip->ecclayout;
	mtd->mtd.priv = chip;
	mtd->mtd.owner = THIS_MODULE;
}