ARM: mach-shmobile: clock-sh7372: remove status check from fsidiv_recalc
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Thu, 14 Apr 2011 08:13:22 +0000 (17:13 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Mon, 18 Apr 2011 09:35:45 +0000 (18:35 +0900)
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>
arch/arm/mach-shmobile/clock-sh7372.c

index e9731b5a73edacc54f2d0a9340ca455e84a063e5..6c79b4019667c74ef8e7fc5cb66fad2665d501d3 100644 (file)
@@ -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;
This page took 0.025358 seconds and 5 git commands to generate.