linux/drivers/mtd/nand/spi
Ruoyu Wang 5d7a08125e mtd: spinand: initialize ret in regular page reads
spinand_mtd_regular_page_read() returns ret after iterating over the
requested pages. If the request contains no data or OOB bytes, the
iterator does not run and ret is not assigned. Initialize it to 0 for the
empty request path.

Signed-off-by: Ruoyu Wang <ruoyuw560@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2026-06-29 16:40:36 +02:00
..
alliancememory.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
ato.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
core.c mtd: spinand: initialize ret in regular page reads 2026-06-29 16:40:36 +02:00
dosilicon.c mtd: spinand: add support for Dosilicon DS35Q1GA/DS35M1GA 2025-12-16 09:13:46 +01:00
esmt.c * MTD 2026-02-13 15:06:58 -08:00
fmsh.c Core MTD changes: 2025-12-04 11:07:46 -08:00
foresee.c mtd: spinand: add Foresee F35SQB002G flash support 2026-01-29 20:22:14 +01:00
gigadevice.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
Kconfig mtd: spinand: Use the external ECC engine logic 2020-12-10 22:37:30 +01:00
macronix.c mtd: spinand: macronix: Enable randomizer support 2026-05-27 11:07:10 +02:00
Makefile mtd: spinand: add support for Dosilicon DS35Q1GA/DS35M1GA 2025-12-16 09:13:46 +01:00
micron.c mtd: spinand: Make use of the operation templates through SPINAND_OP() 2026-01-29 20:21:40 +01:00
otp.c mtd: spinand: otp: add helpers functions 2025-02-10 15:52:59 +01:00
paragon.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
skyhigh.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00
toshiba.c mtd: spinand: Make use of the operation templates through SPINAND_OP() 2026-01-29 20:21:40 +01:00
winbond.c mtd: spinand: winbond: Add support for continuous reads on W25NxxJW 2026-05-04 15:25:12 +02:00
xtx.c mtd: spinand: Add a frequency field to all READ_FROM_CACHE variants 2025-07-30 11:32:16 +02:00