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

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

Merge "sched: walt: Fix cpu_capacity_orig stuck issue"

parents 18c71ffc f85a9dec
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -2919,7 +2919,7 @@ static unsigned long thermal_cap_cpu[NR_CPUS];

unsigned long thermal_cap(int cpu)
{
	return thermal_cap_cpu[cpu] ?: cpu_rq(cpu)->cpu_capacity_orig;
	return thermal_cap_cpu[cpu] ?: SCHED_CAPACITY_SCALE;
}

unsigned long do_thermal_cap(int cpu, unsigned long thermal_max_freq)