From: Takahiro Kuwano <takahiro.kuw...@infineon.com> Same fix is needed in Linux MTD [0] and Tudor helped for that [1][2]. This series applies the same changes as Linux MTD.
[0] https://patchwork.ozlabs.org/project/linux-mtd/patch/20230106030601.6530-1-takahiro.kuw...@infineon.com/ [1] https://patchwork.ozlabs.org/project/linux-mtd/patch/20230110164703.83413-1-tudor.amba...@linaro.org/ [2] https://patchwork.ozlabs.org/project/linux-mtd/patch/20230110164703.83413-2-tudor.amba...@linaro.org/ Takahiro Kuwano (2): mtd: spi-nor: Consider reserved bits in CFR5 register mtd: spi-nor: Make CFRx reg fields generic drivers/mtd/spi/spi-nor-core.c | 8 ++++---- include/linux/mtd/spi-nor.h | 13 +++++++++---- 2 files changed, 13 insertions(+), 8 deletions(-) -- 2.25.1