]> git.ipfire.org Git - thirdparty/linux.git/commit
clk: qcom: clk-alpha-pll: drop lucid-evo pll enabled warning
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 22 Oct 2024 08:05:20 +0000 (10:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 23 Oct 2024 02:46:35 +0000 (21:46 -0500)
commitf9b493de63eccf0fb6dc1549863590b9749f6f26
tree1a406352fb2f655099bb4eb7210ca104313f9eca
parent36d202241d234fa4ac50743510d098ad52bd193a
clk: qcom: clk-alpha-pll: drop lucid-evo pll enabled warning

The boot firmware may have left the display enabled and its PLL running,
which currently generates a warning on boot (e.g. on x1e80100):

disp_cc_pll0 PLL is already enabled

Drop the bogus warning and fix up the PLL enabled error handling
(trion_pll_is_enabled() only returns 0 or 1).

Fixes: d1b121d62b7e ("clk: qcom: Add LUCID_EVO PLL type for SDX65")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241022080521.359-2-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c