]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - arch/arm/mach-imx/clk-gate2.c
Merge remote-tracking branch 'agust/next' into next
[karo-tx-linux.git] / arch / arm / mach-imx / clk-gate2.c
index a63e415609a88a637490c7aaf7c27160572c71c0..a2ecc006b322c2d6bdb328e353aa3eadcdcac436 100644 (file)
@@ -72,7 +72,7 @@ static int clk_gate2_is_enabled(struct clk_hw *hw)
 
        reg = readl(gate->reg);
 
-       if (((reg >> gate->bit_idx) & 3) == 3)
+       if (((reg >> gate->bit_idx) & 1) == 1)
                return 1;
 
        return 0;