power: reset: sc27xx: Change to use cpu_down()
authorBaolin Wang <baolin.wang7@gmail.com>
Mon, 9 Mar 2020 08:18:45 +0000 (16:18 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Mar 2020 22:32:09 +0000 (23:32 +0100)
commit274afbc3ad33136962d66447e89d02e3c142a30a
tree72573a0373a7528e536cdfd30a414bbd234fc8e7
parent6cdd5b09cbe67365c42aee539f6fd00f2ecfdaab
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().

Signed-off-by: Baolin Wang <baolin.wang7@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
drivers/power/reset/sc27xx-poweroff.c