projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
clk: checking wrong variable in __set_clk_parents()
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
clk
/
clk-conf.c
diff --git
a/drivers/clk/clk-conf.c
b/drivers/clk/clk-conf.c
index 1f73019a27c8cb1564053f1eb92219093b20d0d6..4e1bda7abc886c5d398aaea1d7dbbda27dd1ce78 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;
}