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

Commit b29ffdc5 authored by Maulik Shah's avatar Maulik Shah
Browse files

msm: pm: use correct cpu_suspend call for Non-PSCI targets



cpu_suspend API is refactored to support retention modes.
This breaks the existing cpu_suspend call from msm-pm for
Non-PSCI targets.

Update msm-pm to use correct cpu_suspend call for
Non-PSCI targets for ARM64 systems.

Change-Id: Ib4145699bf8687ff9fb2afb02b0f3f257d059ffb
Signed-off-by: default avatarMaulik Shah <mkshah@codeaurora.org>
parent 3a88ff89
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -290,7 +290,7 @@ static bool __ref msm_pm_spm_power_collapse(
		!cpu_suspend(0, msm_pm_collapse) : msm_pm_pc_hotplug();
#else
	collapsed = save_cpu_regs ?
		!cpu_suspend(0) : msm_pm_pc_hotplug();
		!__cpu_suspend(0, msm_pm_collapse) : msm_pm_pc_hotplug();
#endif

	msm_jtag_restore_state();