All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH v2 0/6] fix error checking in spi-nor read and write functions
@ 2015-08-03 18:28 Michal Suchanek
  2015-08-03 18:39 ` [PATCH v2 2/6] mtd: m25p80: Add read/write error check and return Michal Suchanek
                   ` (5 more replies)
  0 siblings, 6 replies; 12+ messages in thread
From: Michal Suchanek @ 2015-08-03 18:28 UTC (permalink / raw)
  To: David Woodhouse, Brian Norris, Han Xu, Rafał Miłecki,
	Michal Suchanek, Huang Shijie, Ben Hutchings, Marek Vasut,
	Gabor Juhos, Bean Huo 霍斌斌, linux-mtd,
	linux-kernel, Hou Zhiqiang, shijie.huang

Hello,

This is update of the spi-nor patchset that implements error checking in SPI
transfers.

It's been pointed out that the first patch is too big so I split it into
smaller incremental patches.

With these patches writing to NOR flash connected to a SPI controller with
transfer size limitation should work properly.

Also when a transfer fails it should be now reported all the way to the
userspace rather than silently ignored.

Thanks

Michal

Michal Suchanek (6):
  mtd: spi-nor: change return value of read/write
  mtd: m25p80: Add read/write error check and return
  mtd: fsl-quadspi: update read/write function prototype
  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] 12+ messages in thread

end of thread, other threads:[~2015-08-05  9:11 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-03 18:28 [PATCH v2 0/6] fix error checking in spi-nor read and write functions Michal Suchanek
2015-08-03 18:39 ` [PATCH v2 2/6] mtd: m25p80: Add read/write error check and return Michal Suchanek
2015-08-03 18:39 ` [PATCH v2 1/6] mtd: spi-nor: change return value of read/write Michal Suchanek
2015-08-03 21:46   ` Marek Vasut
2015-08-04  6:42     ` Michal Suchanek
2015-08-04 16:42       ` Marek Vasut
2015-08-05  8:27         ` Michal Suchanek
2015-08-05  9:11           ` Marek Vasut
2015-08-03 18:39 ` [PATCH v2 3/6] mtd: fsl-quadspi: update read/write function prototype Michal Suchanek
2015-08-03 18:39 ` [PATCH v2 4/6] mtd: spi-nor: check return value from read/write Michal Suchanek
2015-08-03 18:39 ` [PATCH v2 6/6] mtd: spi-nor: simplify write loop Michal Suchanek
2015-08-03 18:39 ` [PATCH v2 5/6] mtd: spi-nor: stop passing around retlen 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.