aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'drivers')
-rw-r--r--drivers/sh/clk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/sh/clk.c b/drivers/sh/clk.c
index 5d84adac9ec4..936c93aaef11 100644
--- a/drivers/sh/clk.c
+++ b/drivers/sh/clk.c
@@ -354,10 +354,10 @@ int clk_set_parent(struct clk *clk, struct clk *parent)
354 ret = clk_reparent(clk, parent); 354 ret = clk_reparent(clk, parent);
355 355
356 if (ret == 0) { 356 if (ret == 0) {
357 pr_debug("clock: set parent of %s to %s (new rate %ld)\n",
358 clk->name, clk->parent->name, clk->rate);
359 if (clk->ops->recalc) 357 if (clk->ops->recalc)
360 clk->rate = clk->ops->recalc(clk); 358 clk->rate = clk->ops->recalc(clk);
359 pr_debug("clock: set parent of %s to %s (new rate %ld)\n",
360 clk->name, clk->parent->name, clk->rate);
361 propagate_rate(clk); 361 propagate_rate(clk);
362 } 362 }
363 } else 363 } else