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

Skip to content
Commit 197b7b15 authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: fix energy efficient return cpu



With recent upmerge commit 'dc6f7513("ANDROID: sched/fair:
return idle CPU immediately for prefer_idle")', the
find_energy_efficient_cpu ignores energy evaluated cpu.

Fix it by updating energy_cpu with energy evaluated cpu,
while at it, if efficient cpu not found, do not return -1 instead
return prev_cpu.

Change-Id: Icf269416b01a8cbade688af3e53ee59a664449a9
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 977db65c
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