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 <[email protected]>
Acked-by: Kevin Hilman <[email protected]>
Acked-by: Rob Herring <[email protected]>
Acked-by: Lorenzo Pieralisi <[email protected]>
Tested-by: Lorenzo Pieralisi <[email protected]>
This commit is contained in:
Daniel Lezcano
2015-03-24 10:16:09 +01:00
parent 449e056c76
commit 191de17aa3
+1 -1
View File
@@ -49,7 +49,7 @@ static int arm64_enter_idle_state(struct cpuidle_device *dev,
* call the CPU ops suspend protocol with idle index as a
* parameter.
*/
ret = cpu_suspend(idx);
arm_cpuidle_suspend(idx);
cpu_pm_exit();
}