]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: rawnand: pl353: Fix software ECC support
authorAndrea Scian <andrea.scian@dave.eu>
Wed, 4 Feb 2026 17:41:44 +0000 (18:41 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 5 Feb 2026 18:12:36 +0000 (19:12 +0100)
commit89b831ebdaca0df4ca3b226f7e7a1d1db1629060
treefaa0fbb80aa7348f01937903637d9eb7911f6788
parent0f8a217670b6e3c28afff5cdf5985190633f62e1
mtd: rawnand: pl353: Fix software ECC support

We need to set also write_page_raw in ecc structure to allow
choosing SW ECC instead of HW one, otherwise write operation fail.

Fixes: 08d8c62164a322 ("mtd: rawnand: pl353: Add support for the ARM PL353 SMC NAND controller")
Signed-off-by: Andrea Scian <andrea.scian@dave.eu>
Cc: stable@kernel.org
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/pl35x-nand-controller.c