Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1395528

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

From Brian Norris <computersforpeace@gmail.com>
Newsgroups linux.kernel
Subject [PATCH v7 00/10] Add error checking to spi-nor read and write
Date 2016-05-06 02:40 +0200
Message-ID <rvBYd-2li-3@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hi,

I'm picking up Michal's patch set, since he dropped it on the floor, and it's
useful for others. My additions:

 * rebased on latest
 * added fixes for drivers that have been merged in the meantime
 * addressed most of Heiner's comments

I've put some v6->v7 change info in the patch descriptions as well.

Tested on m25p80 only.

Regards,
Brian
Brian Norris (2):
  mtd: mtk-quadspi: return amount of data transferred or error in
    read/write
  mtd: nxp-spifi: return amount of data transferred or error in
    read/write

Michal Suchanek (8):
  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 write
  mtd: spi-nor: stop passing around retlen
  mtd: spi-nor: simplify write loop
  mtd: spi-nor: add read loop
  mtd: m25p80: read in spi_max_transfer_size chunks

 drivers/mtd/devices/m25p80.c      |  37 +++++++++-----
 drivers/mtd/spi-nor/fsl-quadspi.c |  29 +++++------
 drivers/mtd/spi-nor/mtk-quadspi.c |  42 +++++++++-------
 drivers/mtd/spi-nor/nxp-spifi.c   |  25 +++++-----
 drivers/mtd/spi-nor/spi-nor.c     | 100 +++++++++++++++++++++++++-------------
 include/linux/mtd/spi-nor.h       |   8 +--
 6 files changed, 148 insertions(+), 93 deletions(-)

-- 
2.8.0.rc3.226.g39d4020

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

[PATCH v7 00/10] Add error checking to spi-nor read and write Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200
  [PATCH v7 05/10] mtd: nxp-spifi: return amount of data transferred or error in read/write Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200
  [PATCH v7 03/10] mtd: fsl-quadspi: return amount of data read/written or error Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200
  [PATCH v7 09/10] mtd: spi-nor: add read loop Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200
  [PATCH v7 07/10] mtd: spi-nor: stop passing around retlen Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200
  [PATCH v7 04/10] mtd: mtk-quadspi: return amount of data transferred or error in read/write Brian Norris <computersforpeace@gmail.com> - 2016-05-06 02:40 +0200

csiph-web