OSDN Git Service

clk: Print an info line before disabling unused clocks
authorKonrad Dybcio <konrad.dybcio@linaro.org>
Tue, 7 Mar 2023 13:29:28 +0000 (14:29 +0100)
committerStephen Boyd <sboyd@kernel.org>
Wed, 29 Mar 2023 18:49:06 +0000 (11:49 -0700)
commit12ca59b91d04df32e41be5a52f0cabba912c11de
tree1e2e8ec2bed3def530cbb4a04edd05a3e122f706
parent81fe523af79f50e27647f6f18ed683e379a40d29
clk: Print an info line before disabling unused clocks

Currently, the regulator framework informs us before calling into
their unused cleanup paths, which eases at least some debugging. The
same could be beneficial for clocks, so that random shutdowns shortly
after most initcalls are done can be less of a guess.

Add a pr_info before disabling unused clocks to do so.

Reviewed-by: Marijn Suijten <marijn.suijten@somainline.org>
Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org>
Link: https://lore.kernel.org/r/20230307132928.3887737-1-konrad.dybcio@linaro.org
Signed-off-by: Stephen Boyd <sboyd@kernel.org>
drivers/clk/clk.c