Skip to content
/ linux Public

Commit d81b51c

Browse files
georgemoussalemSasha Levin
authored andcommitted
clk: qcom: gcc-ipq5018: flag sleep clock as critical
[ Upstream commit 04c4dc1 ] The sleep clock never be disabled. To avoid the kernel trying to disable it and keep it always on, flag it as critical. Fixes: e3fdbef ("clk: qcom: Add Global Clock controller (GCC) driver for IPQ5018") Signed-off-by: George Moussalem <george.moussalem@outlook.com> Reviewed-by: Konrad Dybcio <konrad.dybcio@oss.qualcomm.com> Link: https://lore.kernel.org/r/20251128-ipq5018-sleep-clk-fix-v1-1-6f4b75ec336c@outlook.com Signed-off-by: Bjorn Andersson <andersson@kernel.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
1 parent 048fbee commit d81b51c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/clk/qcom/gcc-ipq5018.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1339,6 +1339,7 @@ static struct clk_branch gcc_sleep_clk_src = {
13391339
.name = "gcc_sleep_clk_src",
13401340
.parent_data = gcc_sleep_clk_data,
13411341
.num_parents = ARRAY_SIZE(gcc_sleep_clk_data),
1342+
.flags = CLK_IS_CRITICAL,
13421343
.ops = &clk_branch2_ops,
13431344
},
13441345
},

0 commit comments

Comments
 (0)