projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e74543f
)
fix wrong usecount bug
author
黄涛
<huangtao@rock-chips.com>
Fri, 28 May 2010 14:21:52 +0000
(14:21 +0000)
committer
黄涛
<huangtao@rock-chips.com>
Mon, 21 Jun 2010 05:35:19 +0000
(13:35 +0800)
arch/arm/mach-rk2818/clock.c
patch
|
blob
|
history
diff --git
a/arch/arm/mach-rk2818/clock.c
b/arch/arm/mach-rk2818/clock.c
index bad081b6bac224c4bc30bc444ed4c38597996540..9298ec18d1f5424c374751e6536dff6e5fb6e7b4 100644
(file)
--- a/
arch/arm/mach-rk2818/clock.c
+++ b/
arch/arm/mach-rk2818/clock.c
@@
-1014,9
+1014,9
@@
static void __clk_disable(struct clk *clk)
if (clk->mode)
clk->mode(clk, 0);
pr_debug("clock: %s disabled\n", clk->name);
+ if (clk->parent)
+ __clk_disable(clk->parent);
}
- if (clk->parent)
- __clk_disable(clk->parent);
}
void clk_disable(struct clk *clk)