power: reset: sc27xx: Power off the external subsystems' connection
authorSherry Zong <sherry.zong@unisoc.com>
Mon, 9 Mar 2020 08:18:44 +0000 (16:18 +0800)
committerSebastian Reichel <sebastian.reichel@collabora.com>
Wed, 11 Mar 2020 22:32:09 +0000 (23:32 +0100)
commit6cdd5b09cbe67365c42aee539f6fd00f2ecfdaab
tree516e7d57713c63e53f7ec231148f5740f9defa6b
parent9027f6111ca40dcc703e1cf6129a73703ae299b7
power: reset: sc27xx: Power off the external subsystems' connection

When powering off the whole system, we should power off some external
subsystems' connection firstly, otherwise some external subsystems
will hold some power and result in powering down abnormally.

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