Re: [PATCH] mtd: rawnand: ingenic: handle ECC clock enable failures

From: Miquel Raynal

Date: Mon Jun 29 2026 - 10:52:01 EST


On Mon, 15 Jun 2026 14:33:32 +0800, Pengpeng Hou wrote:
> ingenic_ecc_get() obtains a provider device reference and then enables
> the ECC clock before returning the ECC handle.
>
> The clk_prepare_enable() return value is currently ignored. If enabling
> the clock fails, the function still returns the ECC handle and keeps the
> provider device reference even though the acquire operation did not
> complete.
>
> [...]

Applied to mtd/fixes, thanks!

[1/1] mtd: rawnand: ingenic: handle ECC clock enable failures
commit: 1a8b2951ba3c35824ff4df0ea7d9f7a554c964a2

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