Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

clk: qcom: gcc-sm8250: Fix gcc_sdcc2_apps_clk_src

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>

authored by

Patrick Whewell and committed by
Bjorn Andersson
783cb693 e39d0fa7

+1
+1
drivers/clk/qcom/gcc-sm8250.c
··· 721 721 .name = "gcc_sdcc2_apps_clk_src", 722 722 .parent_data = gcc_parent_data_4, 723 723 .num_parents = ARRAY_SIZE(gcc_parent_data_4), 724 + .flags = CLK_OPS_PARENT_ENABLE, 724 725 .ops = &clk_rcg2_floor_ops, 725 726 }, 726 727 };