]> www.infradead.org Git - users/jedix/linux-maple.git/commit
clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs
authorGabor Juhos <j4g8y7@gmail.com>
Wed, 8 May 2024 20:34:14 +0000 (22:34 +0200)
committerBjorn Andersson <andersson@kernel.org>
Tue, 28 May 2024 21:31:13 +0000 (16:31 -0500)
commit5a33a64524e6381c399e5e42571d9363ffc0bed4
tree8b87bc2c71a57286182b6450b496c918839ad1b6
parent3414f41a13eb41db15c558fbc695466203dca4fa
clk: qcom: clk-alpha-pll: set ALPHA_EN bit for Stromer Plus PLLs

The clk_alpha_pll_stromer_plus_set_rate() function does not
sets the ALPHA_EN bit in the USER_CTL register, so setting
rates which requires using alpha mode works only if the bit
gets set already prior calling the function.

Extend the function to set the ALPHA_EN bit in order to allow
using fractional rates regardless whether the bit gets set
previously or not.

Fixes: 84da48921a97 ("clk: qcom: clk-alpha-pll: introduce stromer plus ops")
Signed-off-by: Gabor Juhos <j4g8y7@gmail.com>
Link: https://lore.kernel.org/r/20240508-stromer-plus-alpha-en-v1-1-6639ce01ca5b@gmail.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
drivers/clk/qcom/clk-alpha-pll.c