Commit 875b1e30 authored by Martin Kepplinger's avatar Martin Kepplinger
Browse files

thermal: cpu_cooling: remove set_freezable() when suspend not implemented

The cpu_cooling driver prevents system suspend due to one hung task per
cpu. This is because it is "set freezable" by accident. That's a bug.

Note: In newer kernels, this issue goes away because of a different
implementation altogether and system suspend will work there.
parent c475e85d
Pipeline #50012 passed with stage
in 47 minutes and 55 seconds
......@@ -993,7 +993,8 @@ static void cpuidle_cooling_setup(unsigned int cpu)
struct sched_param param = { .sched_priority = MAX_USER_RT_PRIO/2 };
/* TODO fix suspend */
// set_freezable();
sched_setscheduler(current, SCHED_FIFO, &param);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment