diff options
| author | Pengpeng Hou <pengpeng@iscas.ac.cn> | 2026-06-23 21:57:29 +0800 |
|---|---|---|
| committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2026-06-29 16:58:00 +0200 |
| commit | 16f7ec8d5dc100eafd2c8e06cd30340a30b104a1 (patch) | |
| tree | 4efa54c1900f0efd335459baa9fc96c111ebaf5d /drivers/reset | |
| parent | 66fb31358108d10245b9e4ef0eef3e7d9747055e (diff) | |
| download | linux-next-16f7ec8d5dc100eafd2c8e06cd30340a30b104a1.tar.gz linux-next-16f7ec8d5dc100eafd2c8e06cd30340a30b104a1.zip | |
mtd: nand: mtk-ecc: stop on ECC idle timeouts
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.
Fixes: 1d6b1e464950 ("mtd: mediatek: driver for MTK Smart Device")
Signed-off-by: Pengpeng Hou <pengpeng@iscas.ac.cn>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'drivers/reset')
0 files changed, 0 insertions, 0 deletions
