mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-31 04:01:48 -04:00
ACPI / PAD: power_saving_thread() is not freezable
power_saving_thread() calls try_to_freeze(), but the thread doesn't mark itself freezable through set_freezable(), so the try_to_freeze() call is useless. Signed-off-by: Jiri Kosina <[email protected]> Signed-off-by: Rafael J. Wysocki <[email protected]>
This commit is contained in:
parent
32b88194f7
commit
2165747168
1 changed files with 0 additions and 2 deletions
|
|
@ -148,8 +148,6 @@ static int power_saving_thread(void *data)
|
|||
while (!kthread_should_stop()) {
|
||||
unsigned long expire_time;
|
||||
|
||||
try_to_freeze();
|
||||
|
||||
/* round robin to cpus */
|
||||
expire_time = last_jiffies + round_robin_time * HZ;
|
||||
if (time_before(expire_time, jiffies)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue