aboutsummaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorAlberto Panizzo <maramaopercheseimorto@gmail.com>2009-05-15 12:48:13 -0400
committerSascha Hauer <s.hauer@pengutronix.de>2009-05-16 10:19:02 -0400
commit92ab0a50157449c5bcf55ab4aad0a0c2da0be7c7 (patch)
tree5eaba5fd36582802226aef7bc7710fbab5408ac7 /arch/arm
parent183c7fff50a6a83234b5dc6673b6906bd7145326 (diff)
ARM MXC: Make-sure-ipg_per_clk-is-generated-by-ipg_clk-and-not-usb_pll
From ff1fd9d7015d9b9ad3e0df2016d0415e2719747c Mon Sep 17 00:00:00 2001 From: Alberto Panizzo <maramaopercheseimorto@gmail.com> Date: Fri, 15 May 2009 17:21:21 +0200 Subject: [PATCH] Make sure ipg_per_clk is generated by ipg_clk and not usb_pll Signed-off-by: Alberto Panizzo <maramaopercheseimorto@gmail.com> Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-mx3/clock.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mx3/clock.c b/arch/arm/mach-mx3/clock.c
index 09cbd4a15f81..28bd11dc89b8 100644
--- a/arch/arm/mach-mx3/clock.c
+++ b/arch/arm/mach-mx3/clock.c
@@ -579,6 +579,12 @@ int __init mx31_clocks_init(unsigned long fref)
579 MX32, but still required to be set */ 579 MX32, but still required to be set */
580 MXC_CCM_CGR2); 580 MXC_CCM_CGR2);
581 581
582 /*
583 * Before turning off usb_pll make sure ipg_per_clk is generated
584 * by ipg_clk and not usb_pll.
585 */
586 __raw_writel(__raw_readl(MXC_CCM_CCMR) | (1 << 24), MXC_CCM_CCMR);
587
582 usb_pll_disable(&usb_pll_clk); 588 usb_pll_disable(&usb_pll_clk);
583 589
584 pr_info("Clock input source is %ld\n", clk_get_rate(&ckih_clk)); 590 pr_info("Clock input source is %ld\n", clk_get_rate(&ckih_clk));