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

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

Merge "lpm_levels: Return true for CPU WFI mode allow check"

parents 013002a7 0038b390
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -410,6 +410,9 @@ bool lpm_cpu_mode_allow(unsigned int cpu,
{
	struct lpm_level_avail *avail = cpu_level_available[cpu];

	if (lpm_pdev && !index)
		return 1;

	if (!lpm_pdev || !avail)
		return !from_idle;