diff options
author | Colin Cross <ccross@android.com> | 2010-11-01 17:30:33 -0700 |
---|---|---|
committer | Colin Cross <ccross@android.com> | 2010-11-03 17:55:54 -0700 |
commit | 34661b64da75b9990bcbee61203ea2fb76669625 (patch) | |
tree | f8d19bff23e6bce75f23cf73eda8b55b11d1f3d9 /arch/arm/mach-tegra/suspend.c | |
parent | a1d72a522d5ecc98f6b57816f90141d1f0eecfeb (diff) |
ARM: tegra: suspend: use clk_get_rate_all_locked
Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: I2d4bfd8728998903f9cff4a0f1ab41e76bdc02d7
Diffstat (limited to 'arch/arm/mach-tegra/suspend.c')
-rw-r--r-- | arch/arm/mach-tegra/suspend.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/arch/arm/mach-tegra/suspend.c b/arch/arm/mach-tegra/suspend.c index 0d9898de0c4b..8c7d0a9ffe93 100644 --- a/arch/arm/mach-tegra/suspend.c +++ b/arch/arm/mach-tegra/suspend.c @@ -46,6 +46,7 @@ #include <asm/pgalloc.h> #include <asm/tlbflush.h> +#include <mach/clk.h> #include <mach/iomap.h> #include <mach/iovmm.h> #include <mach/irqs.h> @@ -358,7 +359,7 @@ unsigned int tegra_suspend_lp2(unsigned int us) writel(virt_to_phys(tegra_lp2_startup), evp_reset); set_power_timers(pdata->cpu_timer, pdata->cpu_off_timer, - clk_get_rate(tegra_pclk)); + clk_get_rate_all_locked(tegra_pclk)); if (us) tegra_lp2_set_trigger(us); |