git.openpandora.org
/
pandora-kernel.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
drivers: sh: resume enabled clocks fix
[pandora-kernel.git]
/
drivers
/
sh
/
clk
/
core.c
diff --git
a/drivers/sh/clk/core.c
b/drivers/sh/clk/core.c
index
4f64183
..
7e9c399
100644
(file)
--- a/
drivers/sh/clk/core.c
+++ b/
drivers/sh/clk/core.c
@@
-635,7
+635,7
@@
static void clks_core_resume(void)
struct clk *clkp;
list_for_each_entry(clkp, &clock_list, node) {
- if (likely(clkp->ops)) {
+ if (likely(clkp->
usecount && clkp->
ops)) {
unsigned long rate = clkp->rate;
if (likely(clkp->ops->set_parent))