Merge branch 'clock_devel_3.7' into hwmod_prcm_clock_a_3.7
authorPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:27:43 +0000 (17:27 -0600)
committerPaul Walmsley <paul@pwsan.com>
Sun, 23 Sep 2012 23:27:43 +0000 (17:27 -0600)
Conflicts:
arch/arm/mach-omap2/clkt34xx_dpll3m2.c
arch/arm/mach-omap2/clkt_clksel.c
arch/arm/mach-omap2/clock.c

1  2 
arch/arm/mach-omap2/clkt34xx_dpll3m2.c
arch/arm/mach-omap2/clkt_clksel.c
arch/arm/mach-omap2/clkt_dpll.c
arch/arm/mach-omap2/clock.c
arch/arm/mach-omap2/clock3xxx.c
arch/arm/mach-omap2/dpll3xxx.c
arch/arm/mach-omap2/gpmc.c
arch/arm/mach-omap2/omap_hwmod.c
arch/arm/mach-omap2/pm.c
arch/arm/plat-omap/omap_device.c

index 298887b5bf66c5168a248372b26d5410658f1ae4,0fd8b70201e4acee905419931e06d99cd4b91492..7c6da2f731dc75683512af15df6510886f03c1e8
@@@ -90,9 -92,10 +92,9 @@@ int omap3_core_dpll_m2_set_rate(struct 
        if (c == 0)
                c = 1;
  
-       pr_debug("clock: changing CORE DPLL rate from %lu to %lu\n", clk->rate,
-                validrate);
+       pr_debug("clock: changing CORE DPLL rate from %lu to %lu\n",
+                clkrate, validrate);
 -      pr_debug("clock: SDRC CS0 timing params used:"
 -               " RFR %08x CTRLA %08x CTRLB %08x MR %08x\n",
 +      pr_debug("clock: SDRC CS0 timing params used: RFR %08x CTRLA %08x CTRLB %08x MR %08x\n",
                 sdrc_cs0->rfr_ctrl, sdrc_cs0->actim_ctrla,
                 sdrc_cs0->actim_ctrlb, sdrc_cs0->mr);
        if (sdrc_cs1)
index 19a980956d446d87ae281083d876e6b770084e5f,33382fb46cc1ddf35898b4934bc02c6da5b5e7c3..eaed3900a83c7519d029e1a11e439c797e75769b
@@@ -357,11 -374,14 +374,13 @@@ void omap2_init_clksel_parent(struct cl
                                continue;
  
                        if (clkr->val == r) {
-                               if (clk->parent != clks->parent) {
+                               if (parent != clks->parent) {
 -                                      pr_debug("clock: inited %s parent "
 -                                               "to %s (was %s)\n",
 +                                      pr_debug("clock: %s: inited parent to %s (was %s)\n",
-                                                clk->name, clks->parent->name,
-                                                ((clk->parent) ?
-                                                 clk->parent->name : "NULL"));
+                                                clk_name,
+                                                __clk_get_name(clks->parent),
+                                                ((parent) ?
+                                                 __clk_get_name(parent) :
+                                                "NULL"));
                                        clk_reparent(clk, clks->parent);
                                };
                                found = 1;
Simple merge
Simple merge
Simple merge
index 27d79deb4ba2c5f36158c266a35f2774fb251977,02e74c1e62cfa8551b463b7750ba6f3094751bcd..814e1808e1586c64e51a8b5ec07be860c2043940
@@@ -617,17 -623,15 +623,18 @@@ unsigned long omap3_clkoutx2_recalc(str
        unsigned long rate;
        u32 v;
        struct clk *pclk;
+       unsigned long parent_rate;
  
        /* Walk up the parents of clk, looking for a DPLL */
-       pclk = clk->parent;
+       pclk = __clk_get_parent(clk);
        while (pclk && !pclk->dpll_data)
-               pclk = pclk->parent;
+               pclk = __clk_get_parent(pclk);
  
 -      /* clk does not have a DPLL as a parent? */
 -      WARN_ON(!pclk);
 +      /* clk does not have a DPLL as a parent?  error in the clock data */
 +      if (!pclk) {
 +              WARN_ON(1);
 +              return 0;
 +      }
  
        dd = pclk->dpll_data;
  
Simple merge
Simple merge
Simple merge
Simple merge