Re: [PATCH v2] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout

From: Miquel Raynal

Date: Mon Jul 06 2026 - 03:16:45 EST


On Fri, 03 Jul 2026 15:37:59 +0800, Pengpeng Hou wrote:
> lpc32xx_xmit_dma() starts a DMA transfer and waits up to one second
> for its completion, but it ignores the wait result and returns success
> after unmapping the buffer.
>
> A timed out read can therefore return success with incomplete data, and
> a timed out write can continue the NAND operation without proof that the
> DMA payload reached the controller.
>
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: rawnand: lpc32xx_mlc: fail DMA transfers on timeout
commit: dbf590b662695b16fbf5917ef129697be4410ea9

Patche(s) should be available on mtd/linux.git and will be
part of the next PR (provided that no robot complains by then).

Kind regards,
Miquèl