ARM: OMAP: Remove sys_ck and sys_clkout from McBSP for 24xx
authorTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:41:26 +0000 (12:41 +0300)
committerTony Lindgren <tony@atomide.com>
Mon, 25 Sep 2006 09:41:26 +0000 (12:41 +0300)
McBSP does not need sys_ck or sys_clkout. If the devices connected
to McBSP need sys_clkout, they need to request it.

Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/plat-omap/mcbsp.c

index 196aac3ac329aad9df2eeb5bd4867eec89dd0c03..ade9a0fa6ef678033ff2f17f6dd8446389e7ae21 100644 (file)
@@ -75,8 +75,6 @@ static struct clk *mcbsp1_ick = 0;
 static struct clk *mcbsp1_fck = 0;
 static struct clk *mcbsp2_ick = 0;
 static struct clk *mcbsp2_fck = 0;
-static struct clk *sys_ck = 0;
-static struct clk *sys_clkout = 0;
 #endif
 
 static void omap_mcbsp_dump_reg(u8 id)
@@ -232,7 +230,6 @@ static void omap2_mcbsp2_mux_setup(void)
        omap_cfg_reg(W15_24XX_MCBSP2_DR);
        omap_cfg_reg(V15_24XX_MCBSP2_DX);
        omap_cfg_reg(V14_24XX_GPIO117);
-       omap_cfg_reg(W14_24XX_SYS_CLKOUT);
 }
 #endif
 
@@ -984,13 +981,7 @@ static int __init omap_mcbsp_init(void)
        if (cpu_is_omap24xx()) {
                mcbsp_info = mcbsp_24xx;
                mcbsp_count = ARRAY_SIZE(mcbsp_24xx);
-
-               /* REVISIT: where's the right place? */
                omap2_mcbsp2_mux_setup();
-               sys_ck = clk_get(0, "sys_ck");
-               sys_clkout = clk_get(0, "sys_clkout");
-               clk_set_parent(sys_clkout, sys_ck);
-               clk_enable(sys_clkout);
        }
 #endif
        for (i = 0; i < OMAP_MAX_MCBSP_COUNT ; i++) {