mtd: spinand: gigadevice: Fix the get ecc status issue
[ Upstream commit 59950610 ] Some GigaDevice ecc_get_status functions use on-stack buffer for spi_mem_op causes spi_mem_check_op failing, fix the issue by using spinand scratchbuf. Fixes: c40c7a99 ("mtd: spinand: Add support for GigaDevice GD5F1GQ4UExxG") Signed-off-by:Han Xu <han.xu@nxp.com> Signed-off-by:
Miquel Raynal <miquel.raynal@bootlin.com> Link: https://lore.kernel.org/linux-mtd/20231108150701.593912-1-han.xu@nxp.com Signed-off-by:
Sasha Levin <sashal@kernel.org>
Loading