linux/drivers/mtd/spi-nor
Tudor Ambarus 5ce1b49ccb
mtd: spi-nor: Pointer parameter for FSR in spi_nor_read_fsr()
Let the callers pass the pointer to the DMA-able buffer where
the value of the Flag Status Register will be written. This way we
avoid the casts between int and u8, which can be confusing.

Caller stops compare the return value of spi_nor_read_fsr() with negative,
spi_nor_read_fsr() returns 0 on success and -errno otherwise.

Signed-off-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
2019-11-01 09:33:51 +02:00
..
aspeed-smc.c mtd: spi-nor: Introduce 'struct spi_nor_controller_ops' 2019-10-23 09:27:21 +03:00
cadence-quadspi.c mtd: spi-nor: cadence-quadspi: Fix cqspi_command_read() definition 2019-10-23 09:27:21 +03:00
hisi-sfc.c mtd: spi-nor: Introduce 'struct spi_nor_controller_ops' 2019-10-23 09:27:21 +03:00
intel-spi-pci.c mtd: spi-nor: intel-spi: add support for Intel Cannon Lake SPI flash 2019-10-23 09:27:18 +03:00
intel-spi-platform.c mtd: spi-nor: intel-spi: Convert to use SPDX identifier 2019-06-22 14:59:27 +03:00
intel-spi.c mtd: spi-nor: Introduce 'struct spi_nor_controller_ops' 2019-10-23 09:27:21 +03:00
intel-spi.h mtd: spi-nor: intel-spi: Convert to use SPDX identifier 2019-06-22 14:59:27 +03:00
Kconfig mtd: spi-nor: Move m25p80 code in spi-nor.c 2019-08-12 10:54:12 +03:00
Makefile mtd: spi-nor: stm32: remove the driver as it was replaced by spi-stm32-qspi.c 2019-06-07 07:10:38 +03:00
mtk-quadspi.c mtd: spi-nor: Introduce 'struct spi_nor_controller_ops' 2019-10-23 09:27:21 +03:00
nxp-spifi.c mtd: spi-nor: Introduce 'struct spi_nor_controller_ops' 2019-10-23 09:27:21 +03:00
spi-nor.c mtd: spi-nor: Pointer parameter for FSR in spi_nor_read_fsr() 2019-11-01 09:33:51 +02:00