[PATCH v2 3/9] mtd: spi-nand: Isolate the MTD read logic in a helper

Miquel Raynal miquel.raynal at bootlin.com
Fri Sep 6 08:03:09 PDT 2024


On Mon, 2024-08-26 at 10:14:06 UTC, Miquel Raynal wrote:
> There is currently only a single path for performing page reads as
> requested by the MTD layer. Soon there will be two:
> - a "regular" page read
> - a continuous page read
> 
> Let's extract the page read logic in a dedicated helper, so the
> introduction of continuous page reads will be as easy as checking whether
> continuous reads shall/can be used and calling one helper or the other.
> 
> There is not behavioral change intended.
> 
> Signed-off-by: Miquel Raynal <miquel.raynal at bootlin.com>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next.

Miquel



More information about the linux-mtd mailing list