sh: move a debug printk() to a more meaningful location in the clock driver
[linux-2.6-block.git] / drivers / sh / clk.c
index 5d84adac9ec499beebd50c303a5b0fb71f2cca5d..936c93aaef11b4c518b9093a29bbcab46b28b59e 100644 (file)
@@ -354,10 +354,10 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
                        ret = clk_reparent(clk, parent);
 
                if (ret == 0) {
-                       pr_debug("clock: set parent of %s to %s (new rate %ld)\n",
-                                clk->name, clk->parent->name, clk->rate);
                        if (clk->ops->recalc)
                                clk->rate = clk->ops->recalc(clk);
+                       pr_debug("clock: set parent of %s to %s (new rate %ld)\n",
+                                clk->name, clk->parent->name, clk->rate);
                        propagate_rate(clk);
                }
        } else