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

Skip to content
Commit 4b77eee3 authored by Minsung Kim's avatar Minsung Kim Committed by Ruchi Kandoi
Browse files

cpufreq: interactive: don't skip waking up speedchange_task if target_freq > policy->cur



When __cpufreq_driver_target() in speedchange_task failed for some reason, the
policy->cur could be lower than the target_freq. The governor misses to change
the target_freq if the target_freq is equal to the next_freq at the next sample
time.

Added a check to prevent the CPU to stay at the speed that is lower than the
target_freq for long duration.

Change-Id: Ibfdcd193b8280390b8f8374a63218aa31267f310
Signed-off-by: default avatarMinsung Kim <ms925.kim@samsung.com>
parent 4fd02636
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment