Commit 1bf088a9 authored by Konrad Dybcio's avatar Konrad Dybcio Committed by Bjorn Andersson
Browse files

clk: qcom: gcc-qcm2290: Fix up gcc_sdcc2_apps_clk_src



Add the PARENT_ENABLE flag to prevent  the clock from getting stuck
at boot and use floor_ops to avoid SDHCI overclocking.

Fixes: 496d1a13 ("clk: qcom: Add Global Clock Controller driver for QCM2290")
Signed-off-by: default avatarKonrad Dybcio <konrad.dybcio@linaro.org>
Signed-off-by: default avatarBjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230315173048.3497655-1-konrad.dybcio@linaro.org
parent ed8962b5
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -1243,7 +1243,8 @@ static struct clk_rcg2 gcc_sdcc2_apps_clk_src = {
		.name = "gcc_sdcc2_apps_clk_src",
		.parent_data = gcc_parents_12,
		.num_parents = ARRAY_SIZE(gcc_parents_12),
		.ops = &clk_rcg2_ops,
		.ops = &clk_rcg2_floor_ops,
		.flags = CLK_OPS_PARENT_ENABLE,
	},
};