]> asedeno.scripts.mit.edu Git - linux.git/commit
mtd: spinand: macronix: Fix ECC Status Read
authorEmil Lenngren <emil.lenngren@gmail.com>
Thu, 20 Dec 2018 12:46:58 +0000 (13:46 +0100)
committerMiquel Raynal <miquel.raynal@bootlin.com>
Tue, 5 Feb 2019 14:39:39 +0000 (15:39 +0100)
commitf4cb4d7b46f6409382fd981eec9556e1f3c1dc5d
treeda298312da7080cdd03a066f2875e4d07053cb43
parent67c88008c3e24a30c3c695be69509edb47c3d572
mtd: spinand: macronix: Fix ECC Status Read

The datasheet specifies the upper four bits are reserved.
Testing on real hardware shows that these bits can indeed be nonzero.

Signed-off-by: Emil Lenngren <emil.lenngren@gmail.com>
Reviewed-by: Boris Brezillon <boris.brezillon@bootlin.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
drivers/mtd/nand/spi/macronix.c