linux-sh.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
To: linux-sh@vger.kernel.org
Subject: [PATCH] ARM: mach-shmobile: clock-sh7372: remove status check from
Date: Thu, 14 Apr 2011 08:13:22 +0000	[thread overview]
Message-ID: <w3pbp091c9p.wl%kuninori.morimoto.gx@renesas.com> (raw)
In-Reply-To: <w3p1vcreaqm.wl%kuninori.morimoto.gx@renesas.com>

clock status check is not needed in recalc function.
clk->rate will be 0 in clk_set_rate without this patch.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
---
 arch/arm/mach-shmobile/clock-sh7372.c |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)

diff --git a/arch/arm/mach-shmobile/clock-sh7372.c b/arch/arm/mach-shmobile/clock-sh7372.c
index e9731b5..6c79b40 100644
--- a/arch/arm/mach-shmobile/clock-sh7372.c
+++ b/arch/arm/mach-shmobile/clock-sh7372.c
@@ -421,9 +421,6 @@ static unsigned long fsidiv_recalc(struct clk *clk)
 
 	value = __raw_readl(clk->mapping->base);
 
-	if ((value & 0x3) != 0x3)
-		return 0;
-
 	value >>= 16;
 	if (value < 2)
 		return 0;
-- 
1.7.1


  parent reply	other threads:[~2011-04-14  8:13 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-01  2:40 [PATCH] ARM: mach-shmobile: clock-sh7372: Add MMCIF clock Kuninori Morimoto
2010-07-28  2:54 ` [PATCH] ARM: mach-shmobile: clock-sh7372: modify clock name for FSI2 Kuninori Morimoto
2011-01-11  5:11 ` [PATCH] ARM: mach-shmobile: clock-sh7372: fixup pllc2 set_rate Kuninori Morimoto
2011-01-13 22:43 ` Paul Mundt
2011-01-14 16:53 ` Guennadi Liakhovetski
2011-04-14  8:13 ` Kuninori Morimoto [this message]
2011-04-18  9:36 ` [PATCH] ARM: mach-shmobile: clock-sh7372: remove status check from fsidiv_recalc Paul Mundt
2011-08-24  2:44 ` [PATCH] ARM: mach-shmobile: clock-sh7372: fixup USB-DMAC1 settings Kuninori Morimoto
2011-08-24  9:20 ` Magnus Damm

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=w3pbp091c9p.wl%kuninori.morimoto.gx@renesas.com \
    --to=kuninori.morimoto.gx@renesas.com \
    --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;
as well as URLs for NNTP newsgroup(s).