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

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

Merge "PM / devfreq: fix scaling down logic for simple clock scaling"

parents ba7df9d0 f88dd9de
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -55,7 +55,8 @@ static int devfreq_simple_ondemand_func(struct devfreq *df,
		    stat.total_time * dfso_upthreshold)
			*freq = max;
		else if (stat.busy_time * 100 <
		    stat.total_time * dfso_downdifferential)
			 stat.total_time *
			 (dfso_upthreshold - dfso_downdifferential))
			*freq = min;
		else
			*freq = df->previous_freq;