Re: [PATCH v2] mtd: onenand: samsung: report DMA completion timeouts

From: Miquel Raynal

Date: Mon Jul 06 2026 - 03:13:32 EST


On Fri, 03 Jul 2026 15:43:50 +0800, Pengpeng Hou wrote:
> The S5PC110 OneNAND DMA helpers have bounded waits for transfer
> completion. The polling helper falls out of its timeout loop and returns
> success, and the IRQ helper ignores wait_for_completion_timeout().
>
> Return -ETIMEDOUT when the DMA transfer-done bit or completion does not
> arrive before the timeout so callers can treat the buffer transfer as
> failed.
>
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: onenand: samsung: report DMA completion timeouts
commit: d03a19bd6c7f86b99ca8fb61a6ec2345cee1d9d6

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