Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 276519
b: refs/heads/master
c: 6560ee0
h: refs/heads/master
i:
  276517: 312d00a
  276515: 955ff35
  276511: a156f5c
v: v3
  • Loading branch information
Janusz Krzysztofik authored and Tony Lindgren committed Dec 5, 2011
1 parent 2e0a7b7 commit 2919906
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 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: c2cb211116192690605eaa70d39deb04241003e2
refs/heads/master: 6560ee07dc946e94f7cc2cd8e3b5a5f5ee7340c1
7 changes: 6 additions & 1 deletion trunk/arch/arm/mach-omap1/clock_data.c
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,8 @@

#include <linux/kernel.h>
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/delay.h>
#include <linux/io.h>

#include <asm/mach-types.h> /* for machine_is_* */
Expand Down Expand Up @@ -927,7 +929,9 @@ int __init omap1_clk_init(void)

void __init omap1_clk_late_init(void)
{
if (ck_dpll1.rate >= OMAP1_DPLL1_SANE_VALUE)
unsigned long rate = ck_dpll1.rate;

if (rate >= OMAP1_DPLL1_SANE_VALUE)
return;

/* System booting at unusable rate, force reprogramming of DPLL1 */
Expand All @@ -942,4 +946,5 @@ void __init omap1_clk_late_init(void)
}
propagate_rate(&ck_dpll1);
omap1_show_rates();
loops_per_jiffy = cpufreq_scale(loops_per_jiffy, rate, ck_dpll1.rate);
}

0 comments on commit 2919906

Please sign in to comment.