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

Configure Feed

Select the types of activity you want to include in your feed.

clk: qcom: apss-ipq6018: mark apcs_alias0_core_clk as critical

While fixing up the driver I noticed that my IPQ8074 board was hanging
after CPUFreq switched the frequency during boot, WDT would eventually
reset it.

So mark apcs_alias0_core_clk as critical since its the clock feeding the
CPU cluster and must never be disabled.

Fixes: 5e77b4ef1b19 ("clk: qcom: Add ipq6018 apss clock controller")
Signed-off-by: Robert Marko <robimarko@gmail.com>
Reviewed-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20220818220628.339366-3-robimarko@gmail.com

authored by

Robert Marko and committed by
Bjorn Andersson
86e78995 43a56cbf

+1 -1
+1 -1
drivers/clk/qcom/apss-ipq6018.c
··· 56 56 .parent_hws = (const struct clk_hw *[]){ 57 57 &apcs_alias0_clk_src.clkr.hw }, 58 58 .num_parents = 1, 59 - .flags = CLK_SET_RATE_PARENT, 59 + .flags = CLK_SET_RATE_PARENT | CLK_IS_CRITICAL, 60 60 .ops = &clk_branch2_ops, 61 61 }, 62 62 },