]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mtd: spinand: Warn if using SSDR-only vendor commands in a non SSDR mode
authorMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 9 Jan 2026 17:18:23 +0000 (18:18 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Thu, 29 Jan 2026 19:21:41 +0000 (20:21 +0100)
commitf636d9216146fe11de754bf78207352507fb3b91
treebdb4f28ab2dc941d5b67de2d457d118f84b6b621
parent0a331a1851aedd670b95a2d16c6a82496137378d
mtd: spinand: Warn if using SSDR-only vendor commands in a non SSDR mode

Both Macronix and Winbond have chip specific operations which are SSDR
only. Trying to use them in an ODTR setup will fail and doing this is a
pure software bug. Warn explicitly in this case.

Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/macronix.c
drivers/mtd/nand/spi/winbond.c