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

Commit 072cc032 authored by Baolin Wang's avatar Baolin Wang Committed by Todd Kjos
Browse files

FROMGIT: power: reset: sc27xx: Change to use cpu_down()



To allow the SC27XX driver can be built as a module, and the
freeze_secondary_cpus() symbol is not exported, thus we can change
to use the exported cpu_down() API to shut down other cpus to avoid
racing, which is same as the freeze_secondary_cpus().

bug: 146864653
Signed-off-by: default avatarBaolin Wang <baolin.wang7@gmail.com>
Signed-off-by: default avatarSebastian Reichel <sebastian.reichel@collabora.com>
(cherry picked from commit 274afbc3ad33136962d66447e89d02e3c142a30a
https://git.kernel.org/pub/scm/linux/kernel/git/sre/linux-power-supply.git for-next)
parent 3a2e32d2
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