瀏覽代碼

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>
Kuninori Morimoto 14 年之前
父節點
當前提交
a7f800131f
共有 1 個文件被更改,包括 0 次插入3 次删除
  1. 0 3
      arch/arm/mach-shmobile/clock-sh7372.c

+ 0 - 3
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;