Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 21657471 authored by Jiri Kosina's avatar Jiri Kosina Committed by Rafael J. Wysocki
Browse files

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: default avatarJiri Kosina <jkosina@suse.cz>
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
parent 32b88194
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -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)) {