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

Miquel Raynal
2024-09-06T15:07:07Z

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@bootlin.com>

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

Miquel