[PATCH 1/7] clk: qcom: Fix clk_rcg2_is_enabled() check

2014-05-16 Thread Stephen Boyd
If the bit is set the clock is off so we should be checking for a clear bit, not a set bit. Invert the logic. Fixes: bcd61c0f535a (clk: qcom: Add support for root clock generators (RCGs)) Signed-off-by: Stephen Boyd --- drivers/clk/qcom/clk-rcg2.c | 2 +- 1 file changed, 1 insertion(+), 1

[PATCH 1/7] clk: qcom: Fix clk_rcg2_is_enabled() check

2014-05-16 Thread Stephen Boyd
If the bit is set the clock is off so we should be checking for a clear bit, not a set bit. Invert the logic. Fixes: bcd61c0f535a (clk: qcom: Add support for root clock generators (RCGs)) Signed-off-by: Stephen Boyd sb...@codeaurora.org --- drivers/clk/qcom/clk-rcg2.c | 2 +- 1 file changed, 1