]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitfbc05767e52a62afa41958f22fad63601564f820
tree8dab8c0afd2cf9997d42637f183cc08bf08e7db3
parentf73dc6a674dca93bf9915bbacb007b69fd0cc366
mtd: spinand: gigadevice: fix Quad IO for GD5F1GQ5UExxG

[ Upstream commit 52c2fc8d5fd19984e91d1590f9ed01505cb8b085 ]

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: 4aea4b14e150 ("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