summaryrefslogtreecommitdiffstats
path: root/arch/arm
diff options
context:
space:
mode:
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>2011-04-14 17:13:22 +0900
committerPaul Mundt <lethal@linux-sh.org>2011-04-18 18:35:45 +0900
commita7f800131f35925299860a95259453c9bc0c272f (patch)
tree05803e459d81b1bbb37df6663602f157e47f3a0e /arch/arm
parenta1b49cb7e2a7961ec3aa8b64860bf480d4ec9077 (diff)
downloadtalos-op-linux-a7f800131f35925299860a95259453c9bc0c272f.tar.gz
talos-op-linux-a7f800131f35925299860a95259453c9bc0c272f.zip
ARM: mach-shmobile: clock-sh7372: remove status check from fsidiv_recalc
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> Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch/arm')
-rw-r--r--arch/arm/mach-shmobile/clock-sh7372.c3
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 e9731b5a73ed..6c79b4019667 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;
OpenPOWER on IntegriCloud