[PATCH v2] mtd: spinand: Add support for XTX XT26G0xA

Felix Matouschek felix at matouschek.org
Wed Apr 13 08:38:28 PDT 2022


Hi Miquel,

Am 11.04.22 um 22:03 schrieb Miquel Raynal:
>> According to the data-sheet (section 7, page 27) the switch should be
>> able to handle all values of the status register. So should I remove the
>> final "return -EINVAL"?
> 
> I think so, yes.

I noticed that there are actually some possible values for the ECC bits in the 
status register, that are not covered by the switch case. According to the
data-sheet they should not happen, but would it be wise to catch them anyways?
Maybe if something goes wrong?

Thank you,
Felix



More information about the linux-mtd mailing list