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

Skip to content
Commit 5631bce6 authored by Mahesh Sivasubramanian's avatar Mahesh Sivasubramanian
Browse files

msm: pm: Fix error in choosing suspend warmboot path



The last core that finishes the suspend ops is always online and that
flag can be used to determine if the CPU needs to enter through hotplug
warmboot path or not.  A hotplugged core is marked offine before its
called into its terminating function.  This results in a incorrect
num_online_cpus() for the last but one core going down and could result
in hotplugged core entering via suspend path.

Change-Id: I9655040ab0099b12dc1b7a84ea2d865e9da77d68
Signed-off-by: default avatarMahesh Sivasubramanian <msivasub@codeaurora.org>
parent 1155db4b
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