summaryrefslogtreecommitdiff
path: root/arch/arm/mach-tegra/clock.c
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2010-11-01 17:27:29 -0700
committerColin Cross <ccross@android.com>2010-11-03 17:55:53 -0700
commita1d72a522d5ecc98f6b57816f90141d1f0eecfeb (patch)
tree359602ade94080dd4181590068f5eca9b9b49cf8 /arch/arm/mach-tegra/clock.c
parentc95714d0ba915e422ad676f68630fcd513f34295 (diff)
ARM: tegra: dvfs: Get rid of dvfs_lock and move init later
Get rid of dvfs_lock, replacing it with the cansleep flag on clocks. Clocks with the cansleep flag set will lock a mutex before calling into dvfs. Also does the regulator api calls during late init, after the regulators have been probed. Signed-off-by: Colin Cross <ccross@android.com> Change-Id: I5b8bd249bd4f3ae495f2076f1e6d2bfb38737f29
Diffstat (limited to 'arch/arm/mach-tegra/clock.c')
-rw-r--r--arch/arm/mach-tegra/clock.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c
index 4486214c52f5..34c2c29fa760 100644
--- a/arch/arm/mach-tegra/clock.c
+++ b/arch/arm/mach-tegra/clock.c
@@ -568,6 +568,7 @@ int __init tegra_disable_boot_clocks(void)
int __init tegra_late_init_clock(void)
{
+ tegra_dvfs_late_init();
tegra_disable_boot_clocks();
tegra_clk_set_dvfs_rates();
return 0;