Re: [PATCH V3 3/8] clk: qcom: clk-alpha-pll: Fix zonda set_rate failure when PLL is disabled

From: Dmitry Baryshkov
Date: Wed Jul 31 2024 - 09:14:44 EST


On Wed, Jul 31, 2024 at 11:59:11AM GMT, Satya Priya Kakitapalli wrote:
> Currently, clk_zonda_pll_set_rate polls for the PLL to lock even if the
> PLL is disabled. However, if the PLL is disabled then LOCK_DET will
> never assert and we'll return an error. There is no reason to poll
> LOCK_DET if the PLL is already disabled, so skip polling in this case.
>
> Fixes: f21b6bfecc27 ("clk: qcom: clk-alpha-pll: add support for zonda pll")
> Cc: stable@xxxxxxxxxxxxxxx
> Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@xxxxxxxxxxx>
> ---
> drivers/clk/qcom/clk-alpha-pll.c | 3 +++
> 1 file changed, 3 insertions(+)
>

Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@xxxxxxxxxx>


--
With best wishes
Dmitry