]> Gentwo Git Trees - linux/.git/commit
clk: qcom: clk-alpha-pll: fix lucid 5lpe pll enabled check
authorJohan Hovold <johan+linaro@kernel.org>
Tue, 22 Oct 2024 08:05:21 +0000 (10:05 +0200)
committerBjorn Andersson <andersson@kernel.org>
Wed, 23 Oct 2024 02:46:35 +0000 (21:46 -0500)
commit05b2363b1359195f3c86c98abc133907f8769a69
tree8473fff6cf5bf40269f73a965b729b3b8145909e
parentf9b493de63eccf0fb6dc1549863590b9749f6f26
clk: qcom: clk-alpha-pll: fix lucid 5lpe pll enabled check

The lucid 5lpe PLL enable check only checks for an impossible negative
return value and does not actually return as intended in case the PLL is
already enabled (e.g. has been left enabled by boot firmware).

Fixes: f4c7e27aa4b6 ("clk: qcom: clk-alpha-pll: Add support for Lucid 5LPE PLL")
Signed-off-by: Johan Hovold <johan+linaro@kernel.org>
Link: https://lore.kernel.org/r/20241022080521.359-3-johan+linaro@kernel.org
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c