]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: Make sure continuous read is always disabled during probe
authorMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 26 Mar 2026 16:47:16 +0000 (17:47 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 4 May 2026 13:27:03 +0000 (15:27 +0200)
commit7845161edef8008710230efea3839757d0b03d25
treefbfd1d4e14ea0b9c7a52764879326aa15fa71f26
parente1ff8802ac57a917bca50dcabaf5ea78d8cd407f
mtd: spinand: Make sure continuous read is always disabled during probe

Recent changes made sure whenever we were using continuous reads, we
would first start by disabling the feature to ensure a well proven and
stable probe sequence. For development purposes, it might also matter to
make sure we always disable continuous reads at first, in case the ECC
configuration would change. Doing this "automatically" will become even
more relevant when we add extra controller flags to prevent continuous
reads at all.

Ensure we disable continuous reads if the feature is available on the
chip, regardless of whether it will be used or not.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/core.c