]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src
authorPatrick Whewell <patrick.whewell@sightlineapplications.com>
Wed, 2 Aug 2023 21:04:00 +0000 (14:04 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 13 Sep 2023 07:48:21 +0000 (09:48 +0200)
commit1cb17fd8ef56a8758f8373a0a1b3333a8ab1a1fc
treedb4d74920e041be01278d0983ad09dc5a68fb6c3
parentf168ffe4679e072f0dcb0c2e9511c3301b6087db
clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src

[ Upstream commit 783cb693828ce487cf0bc6ad16cbcf2caae6f8d9 ]

GPLL9 is not on by default, which causes a "gcc_sdcc2_apps_clk_src: rcg
didn't update its configuration" error when booting. Set .flags =
CLK_OPS_PARENT_ENABLE to fix the error.

Fixes: 3e5770921a88 ("clk: qcom: gcc: Add global clock controller driver for SM8250")
Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Reviewed-by: Bryan O'Donoghue <bryan.odonoghue@linaro.org>
Signed-off-by: Patrick Whewell <patrick.whewell@sightlineapplications.com>
Reviewed-by: Vinod Koul <vkoul@kernel.org>
Link: https://lore.kernel.org/r/20230802210359.408-1-patrick.whewell@sightlineapplications.com
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/clk/qcom/gcc-sm8250.c