Skip to content
Snippets Groups Projects
Commit acd9f6d4 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 8e3a8675
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment