clk: qcom: smd-rpm: Make BI_TCXO_AO critical
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Mon, 1 May 2023 12:57:13 +0000 (14:57 +0200)
committerBjorn Andersson <andersson@kernel.org>
Thu, 25 May 2023 02:35:27 +0000 (19:35 -0700)
commitffd853c2ea3e39853f0bffc7364c73c12170c595
tree4f00cbadbca230352cd24d116034d09c976d1baf
parent2dd117943f2339d8aba8b139f55edc5e07e1d359
clk: qcom: smd-rpm: Make BI_TCXO_AO critical

We should never let go of the active-only XO vote, as otherwise the
RPM may decide that there are no online users and it can be shut down,
resulting in a total, uncontrolled system collapse.

Guarantee this through adding the CLK_IS_CRITICAL flag.

Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Tested-by: Matti Lehtimäki <matti.lehtimaki@gmail.com>
Signed-off-by: Bjorn Andersson <andersson@kernel.org>
Link: https://lore.kernel.org/r/20230501-topic-rpmcc_xo_a-v1-3-93f18e47b607@linaro.org
drivers/clk/qcom/clk-smd-rpm.c