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
Merge branch 'drm-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/airlied...
[pandora-kernel.git]
/
arch
/
arm
/
common
/
clkdev.c
diff --git
a/arch/arm/common/clkdev.c
b/arch/arm/common/clkdev.c
index
dba4c1d
..
e2b2bb6
100644
(file)
--- a/
arch/arm/common/clkdev.c
+++ b/
arch/arm/common/clkdev.c
@@
-53,12
+53,13
@@
static struct clk *clk_find(const char *dev_id, const char *con_id)
continue;
match += 1;
}
- if (match == 0)
- continue;
if (match > best) {
clk = p->clk;
- best = match;
+ if (match != 3)
+ best = match;
+ else
+ break;
}
}
return clk;