Revert "kernel: ems/ego: Allow CPU frequency changes to be amended before they're set"
This reverts commit 5d1ef2f0ad
.
This commit is contained in:
parent
be8bc49145
commit
2674d4402d
1 changed files with 0 additions and 4 deletions
|
@ -473,10 +473,6 @@ static bool ego_should_update_freq(struct ego_policy *egp, u64 time)
|
||||||
*/
|
*/
|
||||||
rate_limit_ns = min(egp->up_rate_limit_ns, egp->down_rate_limit_ns);
|
rate_limit_ns = min(egp->up_rate_limit_ns, egp->down_rate_limit_ns);
|
||||||
|
|
||||||
/* If the last frequency wasn't set yet then we can still amend it */
|
|
||||||
if (egp->work_in_progress)
|
|
||||||
return true;
|
|
||||||
|
|
||||||
return delta_ns >= rate_limit_ns;
|
return delta_ns >= rate_limit_ns;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue