Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 191736
b: refs/heads/master
c: e4bf5be
h: refs/heads/master
v: v3
  • Loading branch information
viresh kumar authored and Russell King committed Mar 19, 2010
1 parent 45123a0 commit 667bf7d
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0deac0bf66110fe70507c5dcec661c9e85fa07ca
refs/heads/master: e4bf5becccf4685754c4d8e4485bb2ff7d28147f
7 changes: 4 additions & 3 deletions trunk/arch/arm/common/clkdev.c
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,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;
Expand Down

0 comments on commit 667bf7d

Please sign in to comment.