diff options
author | James Cosin <jkosin@intcomgrp.com> | 2012-08-20 05:55:36 +0200 |
---|---|---|
committer | Bob Liu <lliubbo@gmail.com> | 2012-10-08 08:36:29 +0200 |
commit | 810f1512dc8a1f64c22229c3def85fc398b6a24f (patch) | |
tree | 3102b28e57030bacaee88a758710bc68dd20821c /arch/blackfin/mach-bf609 | |
parent | Blackfin: bfin_gpio: proc: fix return value (diff) | |
download | linux-810f1512dc8a1f64c22229c3def85fc398b6a24f.tar.xz linux-810f1512dc8a1f64c22229c3def85fc398b6a24f.zip |
Blackfin: cpufreq: fix dpm_state_table
This patch fixes an assumption that cclk's initial divisor will always be 1 (or
0 in the register). TSCALE is always initialized on startup with a value of 4
regardless of the inital cclk divisor; so, we can't make the assumption without
making lots of other assumptions. The TPERIOD value is set with a value of the
current cclk (value / (HZ * TSCALE)) - 1; so, we need to adjust based on this
initial frequency and not use cclk's initial divisor for adjusting the tscale.
Signed-off-by: Steven Miao <realmz6@gmail.com>
Signed-off-by: Bob Liu <lliubbo@gmail.com>
Diffstat (limited to 'arch/blackfin/mach-bf609')
0 files changed, 0 insertions, 0 deletions