Skip to content

Commit 745fe55

Browse files
konradybciostorulf
authored andcommitted
pmdomain: core: Print a message when unused power domains are disabled
In a similar spirit to commit 12ca59b ("clk: Print an info line before disabling unused clocks"), print the message in both ignore AND cleanup cases to better inform the user (and more importantly, the developer) when it happens. Signed-off-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20231227-topic-pmdomain_spam-v1-1-ff0410086b36@linaro.org Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
1 parent c358eb4 commit 745fe55

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

drivers/pmdomain/core.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1130,6 +1130,7 @@ static int __init genpd_power_off_unused(void)
11301130
return 0;
11311131
}
11321132

1133+
pr_info("genpd: Disabling unused power domains\n");
11331134
mutex_lock(&gpd_list_lock);
11341135

11351136
list_for_each_entry(genpd, &gpd_list, gpd_list_node)

0 commit comments

Comments
 (0)