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

Commit 91a756a8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "drivers: cpuidle: lpm-levels: Notify sched of low power modes"

parents 5040ac5d 2e978306
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -1346,6 +1346,8 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev,
	struct power_params *pwr_params;

	pwr_params = &cpu->levels[idx].pwr;
	sched_set_cpu_cstate(dev->cpu, idx + 1,
			pwr_params->energy_overhead, pwr_params->latency_us);

	cpu_prepare(cpu, idx, true);
	cluster_prepare(cpu->parent, cpumask, idx, true, start_time);