mtd: spinand: macronix: Fix ECC Status Read
authorEmil Lenngren <[email protected]>
Thu, 20 Dec 2018 12:46:58 +0000 (13:46 +0100)
committerMiquel Raynal <[email protected]>
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 <[email protected]>
Reviewed-by: Boris Brezillon <[email protected]>
Signed-off-by: Miquel Raynal <[email protected]>
drivers/mtd/nand/spi/macronix.c