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

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

drivers: cpuidle: lpm-levels: Do not set affinity level for 0 mode id



A PSCI ID of zero doesn't require any setting from the firmware. In this
case, incrementing the affinity level would be incorrect, especially for
a single core system where the CPU and Cluster states are linearized.
The Sleep driver in the kernel needs to different between CPU/Cluster
states to send System votes through before sleep.

Do not increment affinity level when PSCI ID is zero.

Change-Id: I4739ee1ac893d30e5ab5f24b1c388ef58acda06a
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
Signed-off-by: default avatarLina Iyer <ilina@codeaurora.org>
parent 90950c75
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