]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: rawnand: hynix: don't try read-retry on SLC NANDs
authorHector Palacios <hector.palacios@digi.com>
Fri, 4 Jul 2025 09:41:09 +0000 (11:41 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 30 Jul 2025 09:27:30 +0000 (11:27 +0200)
commit125100566b8f830365a85930d85134f7dba3b99b
treefc184f4b5562f1507c0bda3bdb29e25f036ccc63
parente1e6b933c56b1e9fda93caa0b8bae39f3f421e5c
mtd: rawnand: hynix: don't try read-retry on SLC NANDs

Some SLC NANDs like H27U4G8F2D expose a valid JEDEC ID yet they don't
support the read-retry mechanism, and fail.
Since SLC NANDs don't require read-retry, continue only if the bits per
cell is bigger than 1.

Signed-off-by: Hector Palacios <hector.palacios@digi.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/raw/nand_hynix.c