Re: [PATCH 3/3] clk: qcom: rcg2: Clear force enable after rate failure
From: Abel Vesa
Date: Fri Sep 18 2026 - 04:04:50 EST
On 26-09-17 11:06:55, Konrad Dybcio wrote:
> From: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
>
> Shared RCG rate changes assert force-enable before programming the new
> configuration. If programming fails, the function returns without
> clearing force-enable, leaving the root running while CCF can release
> temporary parent and resource references.
>
> Attempt to clear force-enable on the configuration error path before
> returning the original programming error. This restores the same cleanup
> performed after a successful configuration while preserving the primary
> failure for callers.
>
> Fixes: 7ef6f11887bd ("clk: qcom: Configure the RCGs to a safe source as needed")
> Assisted-by: LLM
> Signed-off-by: Konrad Dybcio <konrad.dybcio@xxxxxxxxxxxxxxxx>
Reviewed-by: Abel Vesa <abel.vesa@xxxxxxxxxxxxxxxx>