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

Miquel Raynal miquel.raynal at bootlin.com
Sun Jul 5 23:24:28 PDT 2026


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




More information about the linux-mtd mailing list