[PATCH v3 08/17] mtd: spi-nor: Fix WRSR with ODTR chips
Miquel Raynal
miquel.raynal at bootlin.com
Wed Oct 14 01:56:53 PDT 2026
On 13/10/2026 at 16:51:49 GMT, sashiko-bot at kernel.org wrote:
> Thank you for your contribution! Sashiko AI review found 1 potential issue(s) to consider:
> - [High] spi-nor: Unconditional -EINVAL for 2-byte writes in DTR mode
> breaks flash unlocking
Yes, I have never encountered ODTR chip with that capability, so it is
future proof to simply prevent any ODTR chip from using that in the
general path. This is intentional and should remain.
Won't fix, until we get a new chip that has an actual problem with it.
Miquèl
More information about the linux-mtd
mailing list