[PATCH 03/13] mtd: spinand: Setup spi_mem_op for the SPI IO protocol using reg_proto

Boris Brezillon boris.brezillon at collabora.com
Mon Aug 23 00:11:45 PDT 2021


On Fri, 20 Aug 2021 14:08:40 +0200
Miquel Raynal <miquel.raynal at bootlin.com> wrote:

> Hi Apurva,
> 
> Boris, you might have a good idea for the naming discussed below?

{patch,adjust,tweak}_op() all sound good to me. This being said, I'm
a bit concerned about doing this op tweaking in the hot-path.
Looks like something that should be done at probe or when switching to
8D mode, and kept around. The alternative would be to have per-mode op
tables, which I think would be clearer.



More information about the linux-mtd mailing list