diff options
author | Satya Priya Kakitapalli <quic_skakitap@quicinc.com> | 2024-07-31 11:59:11 +0530 |
---|---|---|
committer | Bjorn Andersson <andersson@kernel.org> | 2024-07-31 21:56:09 -0500 |
commit | 85e8ee59dfde1a7b847fbed0778391392cd985cb (patch) | |
tree | 764d81c51193af833fc5b30da615b0463d584f85 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c | |
parent | 4ad1ed6ef27cab94888bb3c740c14042d5c0dff2 (diff) |
clk: qcom: clk-alpha-pll: Fix zonda set_rate failure when PLL is disabled
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@vger.kernel.org
Signed-off-by: Satya Priya Kakitapalli <quic_skakitap@quicinc.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Link: https://lore.kernel.org/r/20240731062916.2680823-4-quic_skakitap@quicinc.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions