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

Skip to content
Commit b4a0c3d1 authored by Lina Iyer's avatar Lina Iyer
Browse files

drivers: cpuidle: lpm-levels: Fix KW issues with idle state idx < 0



Idle state calculcations will need to return the state chosen as an
integer. The state chosen is used as a index into the array and as such
cannot be negative value. Do not return negative errors from the
calculations. By default, the state returned wil be zero.

Change-Id: Idb18e933f385cf868fe99fa6a2783f6b8e84c196
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 9b5c8a26
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