[PATCH] mtd: spi-nor: micron-st: Skip FSR reading if SPI controller does not support it
Mika Westerberg
mika.westerberg at linux.intel.com
Mon Jun 6 07:03:32 PDT 2022
Hi SPI-NOR maintainers,
On Mon, May 09, 2022 at 09:12:17AM +0200, Michael Walle wrote:
> Am 2022-05-06 12:51, schrieb Mika Westerberg:
> > The Intel SPI controller does not support low level operations, like
> > reading the flag status register (FSR). It only exposes a set of high
> > level operations for software to use. For this reason check the return
> > value of micron_st_nor_read_fsr() and if the operation was not
> > supported, use the status register value only. This allows the chip to
> > work even when attached to Intel SPI controller (there are such systems
> > out there).
> >
> > Signed-off-by: Mika Westerberg <mika.westerberg at linux.intel.com>
>
> Reviewed-by: Michael Walle <michael at walle.cc>
Gentle ping on this :)
More information about the linux-mtd
mailing list