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

Skip to content
Commit 488094ea authored by Lingutla Chandrasekhar's avatar Lingutla Chandrasekhar
Browse files

sched: Use one variable for tracking energy efficient cpu



To find energy efficient cpu, target_cpu and energy_cpu variables are
used to track efficient cpu, which is to make sure to return prev_cpu
instead of -1 in case efficient cpu not found.

Use target_cpu alone for making sure to not return -1.

Change-Id: I25bf7bb1996e5f2ed53d850d2030a9aecb5d0cfc
Signed-off-by: default avatarLingutla Chandrasekhar <clingutla@codeaurora.org>
parent 9ad222c2
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