From patchwork Fri Jun 25 07:20:29 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Guennadi Liakhovetski X-Patchwork-Id: 108002 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by demeter.kernel.org (8.14.4/8.14.3) with ESMTP id o5P7KMQU019641 for ; Fri, 25 Jun 2010 07:21:09 GMT Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751966Ab0FYHUV (ORCPT ); Fri, 25 Jun 2010 03:20:21 -0400 Received: from mail.gmx.net ([213.165.64.20]:48796 "HELO mail.gmx.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with SMTP id S1751662Ab0FYHUV (ORCPT ); Fri, 25 Jun 2010 03:20:21 -0400 Received: (qmail invoked by alias); 25 Jun 2010 07:20:19 -0000 Received: from p57BD1D04.dip0.t-ipconnect.de (EHLO axis700.grange) [87.189.29.4] by mail.gmx.net (mp001) with SMTP; 25 Jun 2010 09:20:19 +0200 X-Authenticated: #20450766 X-Provags-ID: V01U2FsdGVkX19BmS0/blJB/RDR1QlQsKBye741I5UTn2IDeRw+ty 9lH6DdEPsaKB0D Received: from lyakh (helo=localhost) by axis700.grange with local-esmtp (Exim 4.63) (envelope-from ) id 1OS3DB-0003sz-5o for linux-sh@vger.kernel.org; Fri, 25 Jun 2010 09:20:29 +0200 Date: Fri, 25 Jun 2010 09:20:29 +0200 (CEST) From: Guennadi Liakhovetski To: "linux-sh@vger.kernel.org" Subject: [PATCH] sh: move a debug printk() to a more meaningful location in the clock driver Message-ID: MIME-Version: 1.0 X-Y-GMX-Trusted: 0 Sender: linux-sh-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-sh@vger.kernel.org X-Greylist: IP, sender and recipient auto-whitelisted, not delayed by milter-greylist-4.2.3 (demeter.kernel.org [140.211.167.41]); Fri, 25 Jun 2010 07:22:13 +0000 (UTC) diff --git a/drivers/sh/clk.c b/drivers/sh/clk.c index 691f829..cede14e 100644 --- a/drivers/sh/clk.c +++ b/drivers/sh/clk.c @@ -341,10 +341,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