From 72f1154fc987be2ed8e19447def77c412e6cd066 Mon Sep 17 00:00:00 2001 From: Michael Hennerich Date: Fri, 25 Sep 2009 09:03:21 +0000 Subject: [PATCH] --- yaml --- r: 177254 b: refs/heads/master c: d887a1ce285f03c689bb4fbbaf574160bb484c3e h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/arch/blackfin/mach-common/cpufreq.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/[refs] b/[refs] index ee00c7728255..d84cf97e1982 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 21b03cfe4c50fd586bfebd06d852457c07f60c2b +refs/heads/master: d887a1ce285f03c689bb4fbbaf574160bb484c3e diff --git a/trunk/arch/blackfin/mach-common/cpufreq.c b/trunk/arch/blackfin/mach-common/cpufreq.c index 01506504e6d0..3d18d2ba4786 100644 --- a/trunk/arch/blackfin/mach-common/cpufreq.c +++ b/trunk/arch/blackfin/mach-common/cpufreq.c @@ -138,7 +138,8 @@ static int __init __bfin_cpu_init(struct cpufreq_policy *policy) dpm_state_table[index].tscale); } - policy->cpuinfo.transition_latency = (bfin_read_PLL_LOCKCNT() / (sclk / 1000000)) * 1000; + policy->cpuinfo.transition_latency = 50000; /* 50us assumed */ + /*Now ,only support one cpu */ policy->cur = cclk; cpufreq_frequency_table_get_attr(bfin_freq_table, policy->cpu);