generic: fix Macronix SPI-NAND driver
authorDaniel Golle <daniel@makrotopia.org>
Sat, 11 Mar 2023 02:38:59 +0000 (02:38 +0000)
committerDaniel Golle <daniel@makrotopia.org>
Mon, 27 Mar 2023 18:07:54 +0000 (19:07 +0100)
commit5f898483af574699783ed81a7a7895414c94de07
treedfa51ffeec1b444f462edfb22174e17c34fdf725
parent540377010532d9840ebe0778c2af991bd4b67052
generic: fix Macronix SPI-NAND driver

Use scratch buffer for DMA operetations. Passing a pointer to a stack
variable won't work and results in bogus bit flips being reported.

Patch was submitted upstream and is part of Linux 6.3.

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
target/linux/generic/backport-5.15/423-v6.3-mtd-spinand-macronix-use-scratch-buffer-for-DMA-oper.patch [new file with mode: 0644]