From 6af4f86efa54a050cf3335dc8f400b72c24909b8 Mon Sep 17 00:00:00 2001 From: Alex Frid Date: Wed, 24 Aug 2011 20:19:40 -0700 Subject: ARM: tegra: clock: Disable boot clocks before dvfs init SoC core voltage is adjusted during late dvfs initialization to match kernel clock configuration. Clocks left enabled by bootloader should be disabled before dvfs initialization (while SoC is still running at boot voltage) to avoid modules over-clocking. Change-Id: Id22393f3e296393df00871d46c004c6ae1eca28d Reviewed-on: http://git-master/r/49124 Tested-by: Aleksandr Frid Reviewed-by: Scott Williams Reviewed-by: Diwakar Tundlam Tested-by: Diwakar Tundlam Reviewed-by: Yu-Huan Hsu --- arch/arm/mach-tegra/clock.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'arch') diff --git a/arch/arm/mach-tegra/clock.c b/arch/arm/mach-tegra/clock.c index 22ebcab0505e..e804e9aab6ed 100644 --- a/arch/arm/mach-tegra/clock.c +++ b/arch/arm/mach-tegra/clock.c @@ -759,9 +759,9 @@ int __init tegra_disable_boot_clocks(void) int __init tegra_late_init_clock(void) { + tegra_disable_boot_clocks(); tegra_dvfs_late_init(); tegra_sync_cpu_clock(); - tegra_disable_boot_clocks(); return 0; } late_initcall(tegra_late_init_clock); -- cgit v1.2.3