diff options
-rw-r--r-- | arch/arm/mach-imx/clk-gate2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/arm/mach-imx/clk-gate2.c b/arch/arm/mach-imx/clk-gate2.c index a63e415609a8..a2ecc006b322 100644 --- a/arch/arm/mach-imx/clk-gate2.c +++ b/arch/arm/mach-imx/clk-gate2.c | |||
@@ -72,7 +72,7 @@ static int clk_gate2_is_enabled(struct clk_hw *hw) | |||
72 | 72 | ||
73 | reg = readl(gate->reg); | 73 | reg = readl(gate->reg); |
74 | 74 | ||
75 | if (((reg >> gate->bit_idx) & 3) == 3) | 75 | if (((reg >> gate->bit_idx) & 1) == 1) |
76 | return 1; | 76 | return 1; |
77 | 77 | ||
78 | return 0; | 78 | return 0; |