]> git.baikalelectronics.ru Git - kernel.git/commit
mtd: spi-nor: Fix quad enable for Spansion like flashes
authorMichael Walle <michael@walle.cc>
Thu, 16 Jan 2020 09:37:00 +0000 (10:37 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Fri, 17 Jan 2020 21:45:05 +0000 (22:45 +0100)
commitca831e4d1562fd4a54d3590b605172398a5fb55c
treea436e99d9d264150d2d64a170d2653aa23c4211f
parent5cd0a8bea95835dfa329baa9fb8b60e1d4fdaa13
mtd: spi-nor: Fix quad enable for Spansion like flashes

The commit ca6eeca4b8cd ("mtd: spi-nor: Merge spansion Quad Enable
methods") forgot to actually set the QE bit in some cases. Thus this
breaks quad mode accesses to flashes which support readback of the
status register-2. Fix it.

Fixes: ca6eeca4b8cd ("mtd: spi-nor: Merge spansion Quad Enable methods")
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Tudor Ambarus <tudor.ambarus@microchip.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/spi-nor/spi-nor.c