[PATCH v6 00/10] Add error checking to spi-nor read and write

Michal Suchanek hramrach at gmail.com
Wed Dec 2 02:38:19 PST 2015


Hello,

Resending this rebased patchset with ACSII-only To: and updated to use
SIZE_MAX.

Testing wanted, especially for the fsl parts.

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
  mtd: m25p80: read in spi_max_transfer_size chunks

 drivers/mtd/devices/m25p80.c      | 31 ++++++++-----
 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, 122 insertions(+), 62 deletions(-)

-- 
2.6.2




More information about the linux-mtd mailing list