This is a note to let you know that I've just added the patch titled
clk: qcom: Fix clk_rcg2_is_enabled() check
to the 3.15-stable tree which can be found at:
http://www.kernel.org/git/?p=linux/kernel/git/stable/stable-queue.git;a=summary
The filename of the patch is:
clk-qcom-fix-clk_rcg2_is_enabled-check.patch
and it can be found in the queue-3.15 subdirectory.
If you, or anyone else, feels it should not be added to the stable tree,
please let <[email protected]> know about it.
>From aa014149ba002155a084ec1e9328e95b70167cbb Mon Sep 17 00:00:00 2001
From: Stephen Boyd <[email protected]>
Date: Fri, 16 May 2014 16:07:08 -0700
Subject: clk: qcom: Fix clk_rcg2_is_enabled() check
From: Stephen Boyd <[email protected]>
commit aa014149ba002155a084ec1e9328e95b70167cbb upstream.
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 <[email protected]>
Signed-off-by: Mike Turquette <[email protected]>
Signed-off-by: Greg Kroah-Hartman <[email protected]>
---
drivers/clk/qcom/clk-rcg2.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- 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 cl
if (ret)
return ret;
- return (cmd & CMD_ROOT_OFF) != 0;
+ return (cmd & CMD_ROOT_OFF) == 0;
}
static u8 clk_rcg2_get_parent(struct clk_hw *hw)
Patches currently in stable-queue which might be from [email protected] are
queue-3.15/clk-qcom-fix-mmcc-8974-s-pll-configurations.patch
queue-3.15/clk-qcom-fix-clk_rcg2_is_enabled-check.patch
--
To unsubscribe from this list: send the line "unsubscribe stable" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html