Re: [PATCH v3 1/2] mtd: spinand: winbond: fix flash identification

From: Miquel Raynal
Date: Tue Oct 18 2022 - 05:04:18 EST


On Mon, 2022-10-10 at 10:51:09 UTC, mikhail.kshevetskiy@xxxxxxxxx wrote:
> From: Mikhail Kshevetskiy <mikhail.kshevetskiy@xxxxxxxxx>
>
> Winbond uses 3 bytes to identify flash: vendor_id, dev_id_0, dev_id_1,
> but current driver uses only first 2 bytes of it for devices
> identification. As result Winbond W25N02KV flash (id_bytes: EF, AA, 22)
> is identified as W25N01GV (id_bytes: EF, AA, 21).
>
> Fix this by adding missed identification bytes.
>
> Signed-off-by: Mikhail Kshevetskiy <mikhail.kshevetskiy@xxxxxxxxx>
> Reviewed-by: Frieder Schrempf <frieder.schrempf@xxxxxxxxxx>

Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git nand/next, thanks.

Miquel