diff options
author | 2014-04-29 00:24:27 +0530 | |
---|---|---|
committer | 2014-04-29 01:22:53 +0200 | |
commit | 237ede16ba5bcd4d6c612ea280518c48ca31986c (patch) | |
tree | 3936e8dcbf35e6317c49b212ac64a641800dd61c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | cpufreq: longhaul: Fix double invocation of cpufreq_freq_transition_begin/end (diff) | |
download | linux-dev-237ede16ba5bcd4d6c612ea280518c48ca31986c.tar.xz linux-dev-237ede16ba5bcd4d6c612ea280518c48ca31986c.zip |
cpufreq: powernow-k6: Fix incorrect comparison with max_multipler
The value of 'max_multiplier' is meant to be used for comparison with
clock_ratio[index].driver_data, not the index itself! Fix the code in
powernow_k6_cpu_exit() that has this bug.
Also, while at it, make the for-loop condition look for CPUFREQ_TABLE_END,
instead of hard-coding the loop count to 8.
Reported-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions