diff options
-rw-r--r-- | drivers/clk/qcom/clk-rcg2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/clk/qcom/clk-rcg2.c b/drivers/clk/qcom/clk-rcg2.c index 00f878a04d3f..0996a3a39855 100644 --- a/drivers/clk/qcom/clk-rcg2.c +++ b/drivers/clk/qcom/clk-rcg2.c | |||
@@ -55,7 +55,7 @@ static int clk_rcg2_is_enabled(struct clk_hw *hw) | |||
55 | if (ret) | 55 | if (ret) |
56 | return ret; | 56 | return ret; |
57 | 57 | ||
58 | return (cmd & CMD_ROOT_OFF) != 0; | 58 | return (cmd & CMD_ROOT_OFF) == 0; |
59 | } | 59 | } |
60 | 60 | ||
61 | static u8 clk_rcg2_get_parent(struct clk_hw *hw) | 61 | static u8 clk_rcg2_get_parent(struct clk_hw *hw) |