[PATCH v5 00/10] add error checking to spi-nor read and write
Michal Suchanek
hramrach at gmail.com
Tue Dec 1 08:51:03 PST 2015
Hello,
as this is getting discussed a lot lately I am sending a rebase of the spi-nor patchset on top of current MTD patch queue.
I need to do some testing of the rebase with some actual SPI device.
However, I do not have the espi hardware and I hope to get testing on that platform as well.
Also I would like to get comments on the integration of the spi_max_transfer_size
Thanks
Michal
Michal Suchanek (10):
mtd: spi-nor: change return value of read/write
mtd: m25p80: return amount of data transferred or error in read/write
mtd: fsl-quadspi: return amount of data read/written or error
mtd: spi-nor: check return value from read/write
mtd: spi-nor: stop passing around retlen
mtd: spi-nor: simplify write loop
mtd: spi-nor: add read loop
spi: expose master transfer size limitation.
spi: fsl-espi: expose maximum transfer size limit
spi: m25p80: read in spi_max_transfer_size chunks
drivers/mtd/devices/m25p80.c | 34 +++++++++-----
drivers/mtd/spi-nor/fsl-quadspi.c | 29 ++++++------
drivers/mtd/spi-nor/spi-nor.c | 95 +++++++++++++++++++++++++--------------
drivers/spi/spi-fsl-espi.c | 6 +++
include/linux/mtd/spi-nor.h | 8 ++--
include/linux/spi/spi.h | 15 +++++++
6 files changed, 125 insertions(+), 62 deletions(-)
--
2.6.2
More information about the linux-mtd
mailing list