diff options
author | Viresh Kumar <viresh.kumar@linaro.org> | 2013-02-27 09:36:36 +0400 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2013-04-01 03:11:34 +0400 |
commit | 9d44592018e617abf62a5f6a5d92a04aa07e7625 (patch) | |
tree | 224097c0f4d8407e149e813587a0266b32acdad9 /drivers/usb/musb/musb_dsps.c | |
parent | 98104ee28f451024170a9dfb7bec31bfcb7e7c14 (diff) | |
download | linux-9d44592018e617abf62a5f6a5d92a04aa07e7625.tar.xz |
cpufreq: ondemand: Don't update sample_type if we don't evaluate load again
Because we have per cpu timer now, we check if we need to evaluate load again or
not (In case it is recently evaluated). Here the 2nd cpu which got timer
interrupt updates core_dbs_info->sample_type irrespective of load evaluation is
required or not. Which is wrong as the first cpu is dependent on this variable
set to an older value.
Moreover it would be best in this case to schedule 2nd cpu's timer to
sampling_rate instead of freq_lo or hi as that must be managed by the other cpu.
In case the other cpu idles in between then also we wouldn't loose much power.
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/usb/musb/musb_dsps.c')
0 files changed, 0 insertions, 0 deletions