Skip to content

Commit

Permalink
ARM64: cpuidle: Replace cpu_suspend by the common ARM/ARM64 function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Daniel Lezcano committed Mar 24, 2015
1 parent 449e056 commit 191de17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/cpuidle/cpuidle-arm64.c
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit 191de17

Please sign in to comment.