summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuxi Sun <b36102@freescale.com>2011-08-19 14:51:17 +0800
committerXinyu Chen <xinyu.chen@freescale.com>2011-09-02 16:43:12 +0800
commit9b3c984a8b81ccbb14085c8b46bb1192e0a70269 (patch)
tree516cc2ca64c2810dd462f4e561e1c3a9ed0968a8
parent644e37891a3cbd38064d72673afdee715c06cc41 (diff)
ENGR00154458 Mx53 clock: close ssi_ext1_clk
Set this clock closed by default, and open it when it is needed. Signed-off-by: Yuxi Sun <b36102@freescale.com>
-rw-r--r--arch/arm/mach-mx5/mx53_smd.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/mx53_smd.c b/arch/arm/mach-mx5/mx53_smd.c
index 11dc47f39165..46188fd88bdf 100644
--- a/arch/arm/mach-mx5/mx53_smd.c
+++ b/arch/arm/mach-mx5/mx53_smd.c
@@ -1314,6 +1314,12 @@ static void __init mxc_board_init(void)
mxc_ipu_data.di_clk[0] = clk_get(NULL, "ipu_di0_clk");
mxc_ipu_data.di_clk[1] = clk_get(NULL, "ipu_di1_clk");
mxc_ipu_data.csi_clk[0] = clk_get(NULL, "ssi_ext1_clk");
+ /*
+ *ssi_ext1_clk was enbled in arch/arm/mach-mx5/clock.c, and it was kept
+ *open to provide clock for audio codec on i.Mx53 Quickstart, but MX53
+ *SMD board have no needs to do that, so we close it here
+ */
+ clk_disable(mxc_ipu_data.csi_clk[0]);
mxc_spdif_data.spdif_core_clk = clk_get(NULL, "spdif_xtal_clk");
clk_put(mxc_spdif_data.spdif_core_clk);