]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: Use secondary ops for continuous reads
authorMiquel Raynal <miquel.raynal@bootlin.com>
Wed, 29 Apr 2026 17:56:43 +0000 (19:56 +0200)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Mon, 4 May 2026 13:15:47 +0000 (15:15 +0200)
commit6eb7c193e751f057b2d75af9b174cfe5dd060696
tree0c9a15f3f882b9d8c7161fbb4378542d4fcbd55b
parent7a0d420e42a5f0e8451d142cf1154dda7183e146
mtd: spinand: Use secondary ops for continuous reads

In case a chip supports continuous reads, but uses a slightly different
cache operation for these, it may provide a secondary operation template
which will be used only during continuous cache read operations.

From a vendor driver point of view, enabling this feature implies
providing a new set of templates for these continuous read
operations. The core will automatically pick the fastest variant,
depending on the hardware capabilities.

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