[PATCH v2] mtd: spi-nor: Fix RDCR controller capability core check

Miquel Raynal miquel.raynal at bootlin.com
Wed Mar 18 10:08:46 PDT 2026


On Tue, 17 Mar 2026 11:18:42 +0100, Miquel Raynal wrote:
> Commit 5008c3ec3f89 ("mtd: spi-nor: core: Check read CR support") adds a
> controller check to make sure the core will not use CR reads on
> controllers not supporting them. The approach is valid but the fix is
> incorrect. Unfortunately, the author could not catch it, because the
> expected behavior was met. The patch indeed drops the RDCR capability,
> but it does it for all controllers!
> 
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: spi-nor: Fix RDCR controller capability core check
      commit: ac512cd351f7e4ab4569f6a52c116f4ab3a239cc

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl




More information about the linux-mtd mailing list