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

Commit 43dbb7f6 authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "cpufreq: Skip cpufreq resume if it's not suspended"

parents 58b15eaf fa5c2d5f
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -1681,6 +1681,9 @@ void cpufreq_resume(void)
	if (!cpufreq_driver)
		return;

	if (unlikely(!cpufreq_suspended))
		return;

	cpufreq_suspended = false;

	if (!has_target() && !cpufreq_driver->resume)