diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2011-04-14 17:13:22 +0900 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-04-18 18:35:45 +0900 |
commit | a7f800131f35925299860a95259453c9bc0c272f (patch) | |
tree | 05803e459d81b1bbb37df6663602f157e47f3a0e | |
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>
-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 e9731b5a73e..6c79b401966 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; |