aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm/mach-tegra/cpuidle-tegra114.c
diff options
context:
space:
mode:
authorDmitry Osipenko <digetx@gmail.com>2020-02-25 01:40:47 +0300
committerThierry Reding <treding@nvidia.com>2020-03-13 11:23:08 +0100
commit1f3e18ec95f61589404d1471dc01c9599352dd93 (patch)
tree153f5f9098c324e6d8a28a632d0c0590bed92a52 /arch/arm/mach-tegra/cpuidle-tegra114.c
parentARM: tegra: Expose PM functions required for new cpuidle driver (diff)
downloadlinux-dev-1f3e18ec95f61589404d1471dc01c9599352dd93.tar.xz
linux-dev-1f3e18ec95f61589404d1471dc01c9599352dd93.zip
ARM: tegra: Rename some of the newly exposed PM functions
Rename some of the recently exposed PM functions, prefixing them with "tegra_pm_" in order to make the naming of the PM functions consistent. Acked-by: Peter De Schrijver <pdeschrijver@nvidia.com> Tested-by: Peter Geis <pgwipeout@gmail.com> Tested-by: Jasper Korten <jja2000@gmail.com> Tested-by: David Heidelberg <david@ixit.cz> Tested-by: Nicolas Chauvet <kwizart@gmail.com> Acked-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Dmitry Osipenko <digetx@gmail.com> Signed-off-by: Thierry Reding <treding@nvidia.com>
Diffstat (limited to 'arch/arm/mach-tegra/cpuidle-tegra114.c')
-rw-r--r--arch/arm/mach-tegra/cpuidle-tegra114.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/arch/arm/mach-tegra/cpuidle-tegra114.c b/arch/arm/mach-tegra/cpuidle-tegra114.c
index 2d8527837aeb..858c30cc5dc7 100644
--- a/arch/arm/mach-tegra/cpuidle-tegra114.c
+++ b/arch/arm/mach-tegra/cpuidle-tegra114.c
@@ -35,17 +35,17 @@ static int tegra114_idle_power_down(struct cpuidle_device *dev,
{
local_fiq_disable();
- tegra_set_cpu_in_lp2();
+ tegra_pm_set_cpu_in_lp2();
cpu_pm_enter();
call_firmware_op(prepare_idle, TF_PM_MODE_LP2_NOFLUSH_L2);
/* Do suspend by ourselves if the firmware does not implement it */
if (call_firmware_op(do_idle, 0) == -ENOSYS)
- cpu_suspend(0, tegra30_sleep_cpu_secondary_finish);
+ cpu_suspend(0, tegra30_pm_secondary_cpu_suspend);
cpu_pm_exit();
- tegra_clear_cpu_in_lp2();
+ tegra_pm_clear_cpu_in_lp2();
local_fiq_enable();