Skip to content

Commit 191de17

Browse files
committed
ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function
Call the common ARM/ARM64 'arm_cpuidle_suspend' instead of cpu_suspend function which is specific to ARM64. Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Acked-by: Kevin Hilman <khilman@linaro.org> Acked-by: Rob Herring <robherring2@gmail.com> Acked-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Tested-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
1 parent 449e056 commit 191de17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/cpuidle/cpuidle-arm64.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ static int arm64_enter_idle_state(struct cpuidle_device *dev,
4949
* call the CPU ops suspend protocol with idle index as a
5050
* parameter.
5151
*/
52-
ret = cpu_suspend(idx);
52+
arm_cpuidle_suspend(idx);
5353

5454
cpu_pm_exit();
5555
}

0 commit comments

Comments
 (0)