OSDN Git Service
(root)
/
android-x86
/
kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d7d3d26
)
clk: checking wrong variable in __set_clk_parents()
author
Dan Carpenter
<dan.carpenter@oracle.com>
Fri, 1 Aug 2014 08:14:17 +0000
(11:14 +0300)
committer
Mike Turquette
<mturquette@linaro.org>
Fri, 1 Aug 2014 17:47:26 +0000
(10:47 -0700)
There is a cut and paste bug so we check "pclk" instead of "clk".
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Mike Turquette <mturquette@linaro.org>
drivers/clk/clk-conf.c
patch
|
blob
|
history
diff --git
a/drivers/clk/clk-conf.c
b/drivers/clk/clk-conf.c
index
1f73019
..
4e1bda7
100644
(file)
--- a/
drivers/clk/clk-conf.c
+++ b/
drivers/clk/clk-conf.c
@@
-55,10
+55,10
@@
static int __set_clk_parents(struct device_node *node, bool clk_supplier)
goto err;
}
clk = of_clk_get_by_clkspec(&clkspec);
- if (IS_ERR(
p
clk)) {
+ if (IS_ERR(clk)) {
pr_warn("clk: couldn't get parent clock %d for %s\n",
index, node->full_name);
- rc = PTR_ERR(
p
clk);
+ rc = PTR_ERR(clk);
goto err;
}