[PATCH] clk: samsung: exynos-arm64: Propagate CMU resume clock errors

Krzysztof Kozlowski krzk at kernel.org
Sun Nov 29 18:01:00 PST 2026


On 29/11/2026 20:25, Jiawen Liu wrote:
> When runtime PM resumes a suspended Exynos5433 audio CMU, enabling
> fout_aud_pll can return -ETIMEDOUT if the PLL fails to lock. The
> resume callback ignores the error and can restore registers without
> the required clock. It then reports success to runtime PM, allowing
> a later suspend to release a clock reference that resume never acquired.
> 
> Return the error from clk_prepare_enable() before enabling temporary
> parent clocks or restoring registers. The clock framework rolls back
> preparation if enable fails. On success, the callback keeps its clock
> reference until suspend.
> 
> Verification included static
> review of the clock and PM paths, ARM64 builds of the Exynos clock
> objects with and without CONFIG_PM_SLEEP, and the kernel patch style
> check. Runtime and hardware reproduction were not performed.

Unfortunately "kernel patch style check" is not a step of verification
whether code is correct or not. Do not use LLM to write commit msgs,
they are pretty pointless.

Best regards,
Krzysztof



More information about the linux-arm-kernel mailing list