projects
/
GitHub
/
LineageOS
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2485a4b
)
sh: clkfwk: bugfix: use clk_reparent() for div6 clocks
author
Kuninori Morimoto
<kuninori.morimoto.gx@renesas.com>
Thu, 19 Jan 2012 09:00:40 +0000
(
01:00
-0800)
committer
Paul Mundt
<lethal@linux-sh.org>
Tue, 24 Jan 2012 01:44:49 +0000
(10:44 +0900)
Various problems will happen if clk parent was set up directly.
it should use clk_reparent()
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/clk/cpg.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/clk/cpg.c
b/drivers/sh/clk/cpg.c
index 45fee368b0925bec46312dbbe7569c8b5ca2dfc2..92d314a73f69ba0e11d260d4def4a0a5faa4887f 100644
(file)
--- a/
drivers/sh/clk/cpg.c
+++ b/
drivers/sh/clk/cpg.c
@@
-190,7
+190,7
@@
static int __init sh_clk_init_parent(struct clk *clk)
return -EINVAL;
}
- clk
->parent = clk->parent_table[val]
;
+ clk
_reparent(clk, clk->parent_table[val])
;
if (!clk->parent) {
pr_err("sh_clk_init_parent: unable to set parent");
return -EINVAL;