summaryrefslogtreecommitdiff
path: root/arch/arm/mach-mx6/clock_mx6sl.c
diff options
context:
space:
mode:
authorRanjani Vaidyanathan <ra5478@freescale.com>2012-09-01 21:31:02 -0500
committerRanjani Vaidyanathan <ra5478@freescale.com>2012-09-03 01:40:39 -0500
commitb298f01d5c3b05b8ee2b16ad55b1dd1c2cde2757 (patch)
tree8429275e3a43919d65b79152ff24b4fdc81dc746 /arch/arm/mach-mx6/clock_mx6sl.c
parent13a526ea4bb722ca8cb50eb347377ba141d55a62 (diff)
ENGR00222835 MX6x-Fix incorrect enabling/disabling of PLL1
PLL1 was enabled without incrementing the usecount, and was thus not getting disabled under certain conditions. This causes 2 issues: 1. Increases the power. 2. Causes crashes on MX6SL in audio mode as ARM is switched to PLL1 assuming its in bypass when entering WAIT mode. But PLL1 is enabled and not in bypass state. Signed-off-by: Ranjani Vaidyanathan <ra5478@freescale.com>
Diffstat (limited to 'arch/arm/mach-mx6/clock_mx6sl.c')
-rwxr-xr-xarch/arm/mach-mx6/clock_mx6sl.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/arch/arm/mach-mx6/clock_mx6sl.c b/arch/arm/mach-mx6/clock_mx6sl.c
index 6bd818ae7139..08212c3c3ecb 100755
--- a/arch/arm/mach-mx6/clock_mx6sl.c
+++ b/arch/arm/mach-mx6/clock_mx6sl.c
@@ -1239,9 +1239,6 @@ static int _clk_arm_set_rate(struct clk *clk, unsigned long rate)
return -1;
}
- if (!pll1_enabled)
- pll1_sys_main_clk.enable(&pll1_sys_main_clk);
-
cur_arm_podf = div;
__raw_writel(div - 1, MXC_CCM_CACRR);