mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
rk: arm64: disable set pm_power_off for compatible with old pmic driver
Signed-off-by: Huang, Tao <huangtao@rock-chips.com>
This commit is contained in:
@@ -359,9 +359,11 @@ static int __init psci_0_2_init(struct device_node *np)
|
||||
PSCI_0_2_FN_MIGRATE_INFO_TYPE;
|
||||
psci_ops.migrate_info_type = psci_migrate_info_type;
|
||||
|
||||
#ifndef CONFIG_ARCH_ROCKCHIP
|
||||
arm_pm_restart = psci_sys_reset;
|
||||
|
||||
pm_power_off = psci_sys_poweroff;
|
||||
#endif
|
||||
|
||||
out_put_node:
|
||||
of_node_put(np);
|
||||
|
||||
Reference in New Issue
Block a user