Skip to content
Commit 386bb253 authored by Han Xu's avatar Han Xu Committed by Greg Kroah-Hartman
Browse files

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: default avatarHan Xu <han.xu@nxp.com>
Signed-off-by: default avatarMiquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20231108150701.593912-1-han.xu@nxp.com


Signed-off-by: default avatarSasha Levin <sashal@kernel.org>
parent 00b19ee0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment