Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 179756
b: refs/heads/master
c: af022fa
h: refs/heads/master
v: v3
  • Loading branch information
Paul Walmsley committed Jan 20, 2010
1 parent 077daac commit c5b6986
Show file tree
Hide file tree
Showing 2 changed files with 4 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: ecbb06594744b72c362cb2252cb5f6de7cf1b394
refs/heads/master: af022fafa89cca5731da3e3325dc027ed8d57bcd
6 changes: 3 additions & 3 deletions trunk/arch/arm/mach-omap1/clock.c
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ int omap1_select_table_rate(struct clk *clk, unsigned long rate)
struct mpu_rate * ptr;
unsigned long dpll1_rate, ref_rate;

dpll1_rate = clk_get_rate(ck_dpll1_p);
ref_rate = clk_get_rate(ck_ref_p);
dpll1_rate = ck_dpll1_p->rate;
ref_rate = ck_ref_p->rate;

for (ptr = omap1_rate_table; ptr->rate; ptr++) {
if (ptr->xtal != ref_rate)
Expand Down Expand Up @@ -306,7 +306,7 @@ long omap1_round_to_table_rate(struct clk *clk, unsigned long rate)
long highest_rate;
unsigned long ref_rate;

ref_rate = clk_get_rate(ck_ref_p);
ref_rate = ck_ref_p->rate;

highest_rate = -EINVAL;

Expand Down

0 comments on commit c5b6986

Please sign in to comment.