diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-04-14 04:13:22 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-04-18 05:35:45 -0400 |
commit | a7f800131f35925299860a95259453c9bc0c272f (patch) | |
tree | 05803e459d81b1bbb37df6663602f157e47f3a0e /arch/arm/mach-shmobile | |
parent | a1b49cb7e2a7961ec3aa8b64860bf480d4ec9077 (diff) |
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/mach-shmobile')
-rw-r--r-- | 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 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) | |||
421 | 421 | ||
422 | value = __raw_readl(clk->mapping->base); | 422 | value = __raw_readl(clk->mapping->base); |
423 | 423 | ||
424 | if ((value & 0x3) != 0x3) | ||
425 | return 0; | ||
426 | |||
427 | value >>= 16; | 424 | value >>= 16; |
428 | if (value < 2) | 425 | if (value < 2) |
429 | return 0; | 426 | return 0; |