[PATCH] mtd: nand: mxc_nand: always copy_spare() for page write

Miquel Raynal miquel.raynal at bootlin.com
Mon Jul 1 02:53:45 PDT 2024


Hi Sascha,

s.hauer at pengutronix.de wrote on Tue, 28 May 2024 22:30:06 +0200:

> When doing a page write we always have to copy the OOB data in place,
> as the controller will always write it. Not copying it means we write
> random data to the OOB area.
> 
> Fixes: 3df54960b63cc ("mtd: nand: mxc_nand: implement exec_op")
> Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
> ---
> Miquel, feel free to fixup the original patch with this.

Sorry for the delay, I'm now fixing up the original patch with this one.

Thanks for the follow-up.

BTW I've changed the titles to "mtd: rawnand: mxc:" to match the naming
changes since the introduction of spi-nand.

Cheers,
Miquèl



More information about the linux-mtd mailing list