]> git.karo-electronics.de Git - karo-tx-linux.git/commit
clk: qcom: Fix clk_rcg2_is_enabled() check
authorStephen Boyd <sboyd@codeaurora.org>
Fri, 16 May 2014 23:07:08 +0000 (16:07 -0700)
committerMike Turquette <mturquette@linaro.org>
Thu, 29 May 2014 16:30:20 +0000 (09:30 -0700)
commitaa014149ba002155a084ec1e9328e95b70167cbb
treefed95ebc328bbb28d089f97673f4b149c193b8b5
parent18882ac5f38ec44e070c68728c2635bcdf60915f
clk: qcom: Fix clk_rcg2_is_enabled() check

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 <sboyd@codeaurora.org>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/qcom/clk-rcg2.c