[PATCH v3 6/9] mtd: spi-nor: Prepare the introduction of a new locking mechanism
tudor.ambarus at linaro.org
Mon Jan 30 21:29:36 PST 2023
On 12/15/22 08:12, Miquel Raynal wrote:
> This commit alone just introduces two new "lock and prepare" pairs of
> helpers which do the exact same thing as before. They will soon be
> improved in a followup commit which actually brings the logic, but I
> figured out it was more readable to do it this way.
I'd like to not introduce new support for SPI NOR controller drivers
(those under drivers/mtd/spi-nor/controllers/) so that we motivate the
owners to move their drivers to SPI. So we may have to rewrite the
helpers a bit, but I won't stumble on this right now, let me get the
general idea of read while write support first.
More information about the linux-mtd