Skip to content
Commit 59950610 authored by Han Xu's avatar Han Xu Committed by Miquel Raynal
Browse files

mtd: spinand: gigadevice: Fix the get ecc status issue

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
parent 6613476e
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment