OMAP2xxx: clock: fix parents for L3-derived clocks
authorPaul Walmsley <paul@pwsan.com>
Fri, 25 Feb 2011 22:51:02 +0000 (15:51 -0700)
committerPaul Walmsley <paul@pwsan.com>
Tue, 8 Mar 2011 03:19:39 +0000 (20:19 -0700)
Several clocks are listed as having the core L4 clock as their parent,
when they are actually derived from the L3 clock.  Fix these.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
arch/arm/mach-omap2/clock2420_data.c
arch/arm/mach-omap2/clock2430_data.c

index 68c03691e56a98370a9ac2fc2a4053f120054a6f..693a0a84c33d102541812862bf1329f157759a18 100644 (file)
@@ -1614,7 +1614,7 @@ static struct clk sdma_fck = {
 static struct clk sdma_ick = {
        .name           = "sdma_ick",
        .ops            = &clkops_omap2_iclk_idle_only,
-       .parent         = &l4_ck,
+       .parent         = &core_l3_ck,
        .clkdm_name     = "core_l3_clkdm",
        .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3),
        .enable_bit     = OMAP24XX_AUTO_SDMA_SHIFT,
index 34daed9cd56f3077faa5522e26032ac3eb859319..f00f52ebfeaf08dad5ab4b19a342cdc68bc186b3 100644 (file)
@@ -1652,7 +1652,7 @@ static struct clk sdma_fck = {
 static struct clk sdma_ick = {
        .name           = "sdma_ick",
        .ops            = &clkops_omap2_iclk_idle_only,
-       .parent         = &l4_ck,
+       .parent         = &core_l3_ck,
        .clkdm_name     = "core_l3_clkdm",
        .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3),
        .enable_bit     = OMAP24XX_AUTO_SDMA_SHIFT,
@@ -1662,9 +1662,9 @@ static struct clk sdma_ick = {
 static struct clk sdrc_ick = {
        .name           = "sdrc_ick",
        .ops            = &clkops_omap2_iclk_idle_only,
-       .parent         = &l4_ck,
+       .parent         = &core_l3_ck,
        .flags          = ENABLE_ON_INIT,
-       .clkdm_name     = "core_l4_clkdm",
+       .clkdm_name     = "core_l3_clkdm",
        .enable_reg     = OMAP_CM_REGADDR(CORE_MOD, CM_ICLKEN3),
        .enable_bit     = OMAP2430_EN_SDRC_SHIFT,
        .recalc         = &followparent_recalc,