mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-11 05:17:10 +09:00
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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user