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

Commit 5a9711ea authored by Alexander Alexeev's avatar Alexander Alexeev
Browse files

cpufreq: interactive: fix permanent locking on high CPU frequency

This removed improper Samsung's changes
parent 084cdf8a
Loading
Loading
Loading
Loading
+0 −6
Original line number Diff line number Diff line
@@ -151,9 +151,6 @@ static void cpufreq_interactive_timer_resched(
	unsigned long expires;
	unsigned long flags;

	if (!tunables->speedchange_task)
		return;

	spin_lock_irqsave(&pcpu->load_lock, flags);
	pcpu->time_in_idle =
		get_cpu_idle_time(smp_processor_id(),
@@ -184,9 +181,6 @@ static void cpufreq_interactive_timer_start(
	unsigned long expires = jiffies + tunables->timer_rate;
	unsigned long flags;

	if (!tunables->speedchange_task)
		return;

	pcpu->cpu_timer.expires = expires;
	add_timer_on(&pcpu->cpu_timer, cpu);
	if (tunables->timer_slack_val >= 0 &&