Title: [7461] trunk/arch/blackfin/mach-common/cpufreq.c: Writes to PLL_DIV don't follow the PLL bypass lockcount procedure.
- Revision
- 7461
- Author
- hennerich
- Date
- 2009-09-25 05:03:21 -0400 (Fri, 25 Sep 2009)
Log Message
Writes to PLL_DIV don't follow the PLL bypass lockcount procedure.
Use an assumption instead of calculating something that doesn't fit
either.
Modified Paths
Diff
Modified: trunk/arch/blackfin/mach-common/cpufreq.c (7460 => 7461)
--- trunk/arch/blackfin/mach-common/cpufreq.c 2009-09-25 07:41:21 UTC (rev 7460)
+++ trunk/arch/blackfin/mach-common/cpufreq.c 2009-09-25 09:03:21 UTC (rev 7461)
@@ -138,7 +138,8 @@
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);
_______________________________________________
Linux-kernel-commits mailing list
[email protected]
https://blackfin.uclinux.org/mailman/listinfo/linux-kernel-commits