Commit dd264026 authored by George Moussalem's avatar George Moussalem Committed by Miquel Raynal
Browse files

mtd: spinand: esmt: fix id code for F50D1G41LB



Upon detecting the ID for the ESMT F50D1G41LB chip, the fifth byte
returned is always 0x00 instead of the expected JEDEC continuation code
of 0x7f. This causes detection to fail:

[    0.304399] spi-nand spi0.0: unknown raw ID c8117f7f00
[    0.508943] spi-nand: probe of spi0.0 failed with error -524

So let's revert back to the 4 byte ID code for this chip
specifically.

Fixes: 4bd14b2f ("mtd: spinand: esmt: Extend IDs to 5 bytes")
Signed-off-by: default avatarGeorge Moussalem <george.moussalem@outlook.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
parent 56fce754
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment