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

From: Boris Brezillon
Date: Mon Aug 23 2021 - 03:11:54 EST


On Fri, 20 Aug 2021 14:08:40 +0200
Miquel Raynal <miquel.raynal@xxxxxxxxxxx> 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.