ARM: tegra: suspend: use clk_get_rate_all_locked

Signed-off-by: Colin Cross <ccross@android.com>
Change-Id: I2d4bfd8728998903f9cff4a0f1ab41e76bdc02d7
This commit is contained in:
Colin Cross
2010-11-01 17:30:33 -07:00
parent a1d72a522d
commit 34661b64da

View File

@@ -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);