suspend: power: plug off the secondary cpus for freeze mode [1/1]
authorzhiqiang liang <zhiqiang.liang@amlogic.com>
Thu, 13 Dec 2018 08:53:27 +0000 (16:53 +0800)
committerJianxin Pan <jianxin.pan@amlogic.com>
Fri, 14 Dec 2018 09:31:51 +0000 (01:31 -0800)
commit40bbd6e3adb309d918a20323bea5aa17e6aaca3a
tree180cf7cb887897a9c323821ba9c66179a8d31741
parent1fef799b9da8b2a0875f7be4f88e830d5282cc0f
suspend: power: plug off the secondary cpus for freeze mode [1/1]

PD#SWPL-2399

Problem:
freeze mode can not kill the secondary cpus

Solution:
move the cpu kill function before the freeze function

Verify:
tl1 test success

Change-Id: I1da7cb8bcd800b8372fd152490eadd4ef3866ece
Signed-off-by: zhiqiang liang <zhiqiang.liang@amlogic.com>
kernel/power/suspend.c