Skip to content

Commit 43e39d2

Browse files
Jonglin LeeDhineshCool
authored andcommitted
cpuidle: lpm_levels: Don't print parent clocks during suspend
Calling clock_debug_print_enabled with print_parent = true during suspend may cause a scheduling while atomic violation. Call with print_parent = false instead to prevent the violation. Bug: 132511008 Change-Id: I80f646d77d0cc98b4004084022ce1dce0e80cc93 Signed-off-by: Jonglin Lee <jonglin@google.com> Signed-off-by: GeoPD <geoemmanuelpd2001@gmail.com>
1 parent 6400cd3 commit 43e39d2

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/cpuidle/lpm-levels.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1061,7 +1061,7 @@ static int cluster_configure(struct lpm_cluster *cluster, int idx,
10611061
* LPMs(XO and Vmin).
10621062
*/
10631063
if (!from_idle)
1064-
clock_debug_print_enabled(true);
1064+
clock_debug_print_enabled(false);
10651065

10661066
cpu = get_next_online_cpu(from_idle);
10671067
cpumask_copy(&cpumask, cpumask_of(cpu));

0 commit comments

Comments
 (0)