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

Commit fbcf003d authored by Maulik Shah's avatar Maulik Shah Committed by Gerrit - the friendly Code Review server
Browse files

cpuidle: lpm-levels: Remove sched_set_cpu_cstate calls



Scheduler no more need to know current c-state of cpu.
Remove unused calls to set c-state.

Change-Id: I2ddb3676527a20e00c0dfc192751a86e14eb0965
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 2a97a3e2
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -1367,9 +1367,6 @@ static int lpm_cpuidle_enter(struct cpuidle_device *dev,
	const struct cpumask *cpumask = get_cpu_mask(dev->cpu);
	ktime_t start = ktime_get();
	uint64_t start_time = ktime_to_ns(start), end_time;
	struct power_params *pwr_params;

	pwr_params = &cpu->levels[idx].pwr;

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