Re: [PATCH] mtd: nand: mtk-ecc: stop on ECC idle timeouts

From: Miquel Raynal

Date: Mon Jun 29 2026 - 11:05:57 EST


On Tue, 23 Jun 2026 21:57:29 +0800, Pengpeng Hou wrote:
> mtk_ecc_wait_idle() logs when the encoder or decoder does not become
> idle, but returns void. Callers can therefore configure a non-idle ECC
> engine or read parity bytes after an unconfirmed encoder idle state.
>
> Return the idle poll result and propagate it from the enable and encode
> paths that require the engine to be idle before continuing.
>
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: nand: mtk-ecc: stop on ECC idle timeouts
commit: 16f7ec8d5dc100eafd2c8e06cd30340a30b104a1

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