diff options
author | Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com> | 2010-03-24 12:07:19 -0500 |
---|---|---|
committer | Alejandro Gonzalez <alex.gonzalez@digi.com> | 2010-05-25 11:20:16 +0200 |
commit | cf436300e4b56eadfb0aa1735643e8aa44da4b88 (patch) | |
tree | 366346cd7e11e4362e51e0e5885a95688d81c2ba /arch/arm/mach-mx5/bus_freq.c | |
parent | 18c5d7491f4fcee0b7d1e5a2b0dc42660e5c67a6 (diff) |
ENGR00121951: MX51: Fix system crash when DVFS-PER is enabled
Enabling DVFS-PER during video playback caused system to crash.
Also fixed warnings associated with dvfs_core resources.
Signed-off-by: Ranjani Vaidyanathan-RA5478 <Ranjani.Vaidyanathan@freescale.com>
Signed-off-by: Alejandro Gonzalez <alex.gonzalez@digi.com>
Diffstat (limited to 'arch/arm/mach-mx5/bus_freq.c')
-rw-r--r-- | arch/arm/mach-mx5/bus_freq.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/arch/arm/mach-mx5/bus_freq.c b/arch/arm/mach-mx5/bus_freq.c index ce265fcff89e..1463ef4df254 100644 --- a/arch/arm/mach-mx5/bus_freq.c +++ b/arch/arm/mach-mx5/bus_freq.c @@ -155,7 +155,6 @@ int set_high_bus_freq(int high_bus_freq) if (bus_freq_scaling_initialized) { stop_sdram_autogating(); - stop_dvfs_per(); if (low_bus_freq_mode) { /* Relock PLL3 to 133MHz */ @@ -193,6 +192,7 @@ int set_high_bus_freq(int high_bus_freq) /*Change the DDR freq to 200MHz*/ clk_set_rate(ddr_hf_clk, clk_round_rate(ddr_hf_clk, DDR_NORMAL_CLK)); + start_dvfs_per(); } if (bus_freq_scaling_is_active) { /* @@ -224,7 +224,6 @@ int set_high_bus_freq(int high_bus_freq) } } start_sdram_autogating(); - start_dvfs_per(); } return 0; } |