aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorGregory CLEMENT <gregory.clement@bootlin.com>2019-03-08 17:47:10 +0100
committerViresh Kumar <viresh.kumar@linaro.org>2019-04-29 15:22:50 +0530
commit8db82563451f976597ab7b282ec655e4390a4088 (patch)
treef0a4fd8f06fabeefb68fa5f4471c8187cf38fce6 /tools/perf/scripts/python
parentc1d1090c3c7674c965552e22a65b29423aa4f090 (diff)
cpufreq: armada-37xx: fix frequency calculation for opp
The frequency calculation was based on the current(max) frequency of the CPU. However for low frequency, the value used was already the parent frequency divided by a factor of 2. Instead of using this frequency, this fix directly get the frequency from the parent clock. Fixes: 92ce45fb875d ("cpufreq: Add DVFS support for Armada 37xx") Cc: <stable@vger.kernel.org> Reported-by: Christian Neubert <christian.neubert.86@gmail.com> Signed-off-by: Gregory CLEMENT <gregory.clement@bootlin.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions