linux/drivers/mtd/nand
Andrea Scian ead66f2ed1 mtd: rawnand: pl353: Fix software ECC support
[ Upstream commit 89b831ebda ]

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: 08d8c62164 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
History 2026-03-04 07:21:23 -05:00
..
onenand mtd: onenand: Pass correct pointer to IRQ handler 2025-11-03 11:37:57 +01:00
raw mtd: rawnand: pl353: Fix software ECC support 2026-03-04 07:21:23 -05:00
spi mtd: spinand: Disable continuous read during probe 2026-03-04 07:21:19 -05:00
bbt.c mtd: nand: bbt: Use the bitmap API to allocate bitmaps 2022-09-20 10:06:58 +02:00
core.c mtd: nand: move nand_check_erased_ecc_chunk() to nand/core 2025-09-18 10:32:00 +02:00
ecc-mtk.c mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC 2023-02-03 19:09:44 +01:00
ecc-mxic.c mtd: nand: ecc-mxic: Lower log level during init 2025-09-18 10:31:56 +02:00
ecc-realtek.c mtd: rawnand: realtek: Make rtl_ecc_engine_ops const 2025-10-22 11:54:42 +02:00
ecc-sw-bch.c mtd: spinand: Constify struct nand_ecc_engine_ops 2024-10-21 11:55:50 +02:00
ecc-sw-hamming.c mtd: spinand: Constify struct nand_ecc_engine_ops 2024-10-21 11:55:50 +02:00
ecc.c mtd: nand: ecc: fix "writen"->"written" 2025-09-10 10:02:57 +02:00
Kconfig mtd: nand: MTD_NAND_ECC_REALTEK should depend on HAS_DMA 2025-10-22 11:54:29 +02:00
Makefile mtd: nand: realtek-ecc: Add Realtek external ECC engine support 2025-09-29 17:54:33 +02:00
qpic_common.c mtd: nand: qpic_common: use {cmd,data}_sgl_nitems for sg_init_table() 2025-08-28 14:23:20 +02:00