mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG
authorChuanhong Guo <gch981213@gmail.com>
Sun, 20 Mar 2022 09:59:57 +0000 (17:59 +0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 9 Jun 2022 08:22:45 +0000 (10:22 +0200)
commitd5b66645305c6f3a1b2cf75cee4157b07f293309
tree8dab8c0afd2cf9997d42637f183cc08bf08e7db3
parentadb1ff124a2aec9f6c73b47bdf9b4a29b89bb6eb
mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG

[ Upstream commit a4f9dd55c5e1bb951db6f1dee20e62e0103f3438 ]

Read From Cache Quad IO (EBH) uses 2 dummy bytes on this chip according
to page 23 of the datasheet[0].

[0]: https://www.gigadevice.com/datasheet/gd5f1gq5xexxg/

Fixes: 469b99248985 ("mtd: spinand: gigadevice: Support GD5F1GQ5UExxG")
Signed-off-by: Chuanhong Guo <gch981213@gmail.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20220320100001.247905-2-gch981213@gmail.com
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/mtd/nand/spi/gigadevice.c