Add error checking to spi-nor read and write
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest2 patches 3 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/2 | mtd: spi-nor: rework spi nor read and write.drivers/ drivers/ drivers/ +1 more | +81 | 3 replies | |
| 2/2 | mtd: spi-nor: rework write loopdrivers/ | +15 | 0 replies |
Reviews trailers per patch
No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.
Cover letter [PATCH 0/2] Add error checking to spi-nor read and write
Hello,
I am working with half-broken SPI drivers which sometimes fail and spi-nor completely ignores that leading to silent data corruption.
With these patches I get actual I/O errors when something fails.
Testing on different hardware would be appreciated, especially fsl-qspi.
I don't recall any comment on these patches so I am resending them separately.
Thanks
Michal
Michal Suchanek (2):
mtd: spi-nor: rework spi nor read and write.
mtd: spi-nor: rework 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, 83 insertions(+), 66 deletions(-)
Signature · 1 line
2.1.4