SUPERH platform development
 help / color / mirror / Atom feed
From: Paul Mundt <lethal@linux-sh.org>
To: linux-sh@vger.kernel.org
Subject: Re: [PATCH 1/8] ARM: mach-shmobile: clock-r8a7740: add USB clock
Date: Fri, 27 Apr 2012 02:15:02 +0000	[thread overview]
Message-ID: <20120427021501.GC7988@linux-sh.org> (raw)
In-Reply-To: <87aa21fqg0.wl%kuninori.morimoto.gx@renesas.com>

On Tue, Apr 24, 2012 at 02:07:47AM -0700, Kuninori Morimoto wrote:
> R8A7740 USB needs many clocks for workaround,
> and it has confusing name "usb24s" and "usb24".
> This "usb24s" will be used by other clocks.
> 
> Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
> ---
>  arch/arm/mach-shmobile/clock-r8a7740.c |  118 +++++++++++++++++++++++++++++++-
>  1 files changed, 116 insertions(+), 2 deletions(-)
> 
> diff --git a/arch/arm/mach-shmobile/clock-r8a7740.c b/arch/arm/mach-shmobile/clock-r8a7740.c
> index 99c4d74..30535f4 100644
> --- a/arch/arm/mach-shmobile/clock-r8a7740.c
> +++ b/arch/arm/mach-shmobile/clock-r8a7740.c
> +static unsigned long usb24s_recalc(struct clk *clk)
> +{
> +	return clk->parent->rate;
> +};
> +
You don't need this, just use followparent_recalc() directly.

  reply	other threads:[~2012-04-27  2:15 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-24  9:07 [PATCH 1/8] ARM: mach-shmobile: clock-r8a7740: add USB clock Kuninori Morimoto
2012-04-27  2:15 ` Paul Mundt [this message]
2012-04-27  8:09 ` Kuninori Morimoto
2012-04-27 21:07 ` Rafael J. Wysocki

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20120427021501.GC7988@linux-sh.org \
    --to=lethal@linux-sh.org \
    --cc=linux-sh@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox