[PATCH v2] mtd: spinand: Add support for XTX XT26G0xA
Miquel Raynal
miquel.raynal at bootlin.com
Wed Apr 13 08:56:05 PDT 2022
Hi Felix,
felix at matouschek.org wrote on Wed, 13 Apr 2022 17:38:28 +0200:
> 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?
Yes of course, that was my advice in the first place :)
>
> Thank you,
> Felix
Thanks,
Miquèl
More information about the linux-mtd
mailing list