]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mtd: spinand: Add read retry support
authorCheng Ming Lin <chengminglin@mxic.com.tw>
Mon, 24 Feb 2025 07:03:48 +0000 (15:03 +0800)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 4 Mar 2025 11:02:11 +0000 (12:02 +0100)
commitf2cb43c98010181b532ff36643731dc2442b9b7d
tree607a317de612abbef4b3afa514321c0cc2fc017b
parent34684bb5e43609ba8ac1a54c4e585493c5486cab
mtd: spinand: Add read retry support

When the host ECC fails to correct the data error of NAND device,
there's a special read for data recovery method which can be setup
by the host for the next read. There are several retry levels that
can be attempted until the lost data is recovered or definitely
assumed lost.

Signed-off-by: Cheng Ming Lin <chengminglin@mxic.com.tw>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/core.c
include/linux/mtd/spinand.h