]> Gentwo Git Trees - linux/.git/commit
mtd: rawnand: sunxi: introduce reg_ecc_err_cnt in sunxi_nfc_caps
authorRichard Genoud <richard.genoud@bootlin.com>
Tue, 28 Oct 2025 07:34:58 +0000 (08:34 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 28 Oct 2025 16:16:01 +0000 (17:16 +0100)
commit4a3a05681432c4a3bf9f7af3c813baf33bb143e8
tree0653ea4dc3d74ab51c744ebaed002c76e240c5f1
parent94dc08adaf927b8a1d4de606055cf1a9c7256425
mtd: rawnand: sunxi: introduce reg_ecc_err_cnt in sunxi_nfc_caps

The H6/H616 ECC_ERR_CNT register is not at the same offset as the
A10/A23 one, so move its offset into sunxi_nfc_caps

No functional change.

Signed-off-by: Richard Genoud <richard.genoud@bootlin.com>
Reviewed-by: Jernej Skrabec <jernej.skrabec@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/sunxi_nand.c