All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v3 0/6] Add error checking in spi-nor read and write
@ 2015-08-07 20:01 Michal Suchanek
  2015-08-07 20:01 ` [PATCH v3 1/6] mtd: spi-nor: change return value of read/write Michal Suchanek
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Michal Suchanek @ 2015-08-07 20:01 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Han Xu, Rafał Miłecki,
	Michal Suchanek, Alison Chaiken, Marek Vasut, Ben Hutchings,
	Huang Shijie, Gabor Juhos, Bean Huo 霍斌斌,
	linux-mtd, linux-kernel, , Hou Zhiqiang, shijie.huang

Hello,

this is patchset which implements checking for SPI transfer errors in spi-nor.

With this you get an error rather than bunch of zeroes when a transfer fails
and you get correct operation on SPI controllers that truncate long transfers.

Since the only comment to the patchset was that it introduces a warning when
all patches are not applied I resend with this issue fixed.

Thanks

Michal

Michal Suchanek (6):
  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

 drivers/mtd/devices/m25p80.c      | 33 ++++++++++------
 drivers/mtd/spi-nor/fsl-quadspi.c | 29 +++++++-------
 drivers/mtd/spi-nor/spi-nor.c     | 79 ++++++++++++++++++++++-----------------
 include/linux/mtd/spi-nor.h       |  8 ++--
 4 files changed, 84 insertions(+), 65 deletions(-)

-- 
2.1.4

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2015-08-07 20:10 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-07 20:01 [PATCH v3 0/6] Add error checking in spi-nor read and write Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 1/6] mtd: spi-nor: change return value of read/write Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 2/6] mtd: m25p80: return amount of data transferred or error in read/write Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 3/6] mtd: fsl-quadspi: return amount of data read/written or error Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 4/6] mtd: spi-nor: check return value from read/write Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 5/6] mtd: spi-nor: stop passing around retlen Michal Suchanek
2015-08-07 20:01 ` [PATCH v3 6/6] mtd: spi-nor: simplify write loop Michal Suchanek

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.