rk30: cpufreq: cpufreq_scale_rate_for_dvfs no change freqs.old
author黄涛 <huangtao@rock-chips.com>
Fri, 20 Apr 2012 11:13:02 +0000 (19:13 +0800)
committer黄涛 <huangtao@rock-chips.com>
Fri, 20 Apr 2012 11:23:51 +0000 (19:23 +0800)
arch/arm/mach-rk30/cpufreq.c

index 9c37fa1645aea5ec93294d4e0fed7bbda85b2cb6..e60530f42dd1fa50f51adb59199baca2fdc95ede 100755 (executable)
@@ -325,7 +325,6 @@ int cpufreq_scale_rate_for_dvfs(struct clk * clk,unsigned long rate,dvfs_set_rat
        }
 #endif
 
-       freqs.old=freqs.new;
        freqs.new=rk30_getspeed(0);
        /* notifiers */
        for_each_online_cpu(freqs.cpu)