linux/drivers/mtd/nand
Miquel Raynal 135ac3b84b mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW
In most scenarios this variant is actually unused (VCR is written in
SSDR mode), but we need to provide an octal variant. The address is 24
bits but is sent over 4 bytes MSB first. This means we need to shift the
register address by one extra byte for the address to be correct.

I didn't catch this initially because the volatile register region is
256 bytes wide, so the write-then-read procedure did work with the small
register addresses I was using at that time: 0 and 1.

Fixes: 44a2f49b9b ("mtd: spinand: winbond: W35N octal DTR support")
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
2026-04-27 15:08:04 +02:00
..
onenand Convert remaining multi-line kmalloc_obj/flex GFP_KERNEL uses 2026-02-22 08:26:33 -08:00
raw * MTD changes 2026-04-17 17:57:04 -07:00
spi mtd: spinand: winbond: Fix ODTR write VCR on W35NxxJW 2026-04-27 15:08:04 +02:00
bbt.c mtd: nand: bbt: Use the bitmap API to allocate bitmaps 2022-09-20 10:06:58 +02:00
core.c mtd: nand: move nand_check_erased_ecc_chunk() to nand/core 2025-09-18 10:32:00 +02:00
ecc-mtk.c mtd: nand: ecc-mtk: Add ECC support fot MT7986 IC 2023-02-03 19:09:44 +01:00
ecc-mxic.c mtd: nand: ecc-mxic: Lower log level during init 2025-09-18 10:31:56 +02:00
ecc-realtek.c mtd: nand: realtek-ecc: relax OOB size check to minimum 2026-02-25 17:41:35 +01:00
ecc-sw-bch.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ecc-sw-hamming.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00
ecc.c mtd: nand: ecc: fix "writen"->"written" 2025-09-10 10:02:57 +02:00
Kconfig mtd: nand: realtek-ecc: Fix Kconfig dependencies 2025-11-27 18:25:05 +01:00
Makefile mtd: nand: realtek-ecc: Add Realtek external ECC engine support 2025-09-29 17:54:33 +02:00
qpic_common.c Convert 'alloc_obj' family to use the new default GFP_KERNEL argument 2026-02-21 17:09:51 -08:00