mirror of
https://git.yoctoproject.org/meta-ti
synced 2026-07-17 06:48:07 +00:00
88867c1d96
Move non-essential, outdated, best-effort pieces, as well, as those requiring extra non-standard dependencies besides oe-core. Signed-off-by: Denys Dmytriyenko <denys@ti.com>
32 lines
1004 B
Diff
32 lines
1004 B
Diff
From 647691beb64312327646a84dc161faf35935e7f7 Mon Sep 17 00:00:00 2001
|
|
From: Kevin Hilman <khilman@deeprootsystems.com>
|
|
Date: Wed, 11 Aug 2010 17:05:38 -0700
|
|
Subject: [PATCH 03/20] OMAP: CPUfreq: ensure policy is fully initialized
|
|
|
|
Ensure policy min/max/cur values are initialized when OMAP
|
|
CPUfreq driver starts.
|
|
|
|
Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>
|
|
---
|
|
arch/arm/plat-omap/cpu-omap.c | 4 ++++
|
|
1 files changed, 4 insertions(+), 0 deletions(-)
|
|
|
|
diff --git a/arch/arm/plat-omap/cpu-omap.c b/arch/arm/plat-omap/cpu-omap.c
|
|
index 79d2155..bfa063b 100644
|
|
--- a/arch/arm/plat-omap/cpu-omap.c
|
|
+++ b/arch/arm/plat-omap/cpu-omap.c
|
|
@@ -126,6 +126,10 @@ static int __init omap_cpu_init(struct cpufreq_policy *policy)
|
|
VERY_HI_RATE) / 1000;
|
|
}
|
|
|
|
+ policy->min = policy->cpuinfo.min_freq;
|
|
+ policy->max = policy->cpuinfo.max_freq;
|
|
+ policy->cur = omap_getspeed(0);
|
|
+
|
|
/* FIXME: what's the actual transition time? */
|
|
policy->cpuinfo.transition_latency = 300 * 1000;
|
|
|
|
--
|
|
1.6.6.1
|
|
|