aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorViresh Kumar <viresh.kumar@linaro.org>2020-06-23 10:38:47 +0530
committerViresh Kumar <viresh.kumar@linaro.org>2020-07-30 10:57:46 +0530
commitd88b0f0edb9041be6feff98e83cd6002e4ab534e (patch)
tree99a5c6e5170d166c0fbf089d2298fb904e1bc62e /tools/perf/scripts/python
parent10470dec3decaf5ed3c596f85debd7c42777ae12 (diff)
cpufreq: cppc: Reorder code and remove apply_hisi_workaround variable
With the current approach we have an extra check in the cppc_cpufreq_get_rate() callback, which checks if hisilicon's get rate implementation should be used instead. While it works fine, the approach isn't very straight forward, over that we have an extra check in the routine. Rearrange code and update the cpufreq driver's get() callback pointer directly for the hisilicon case. This gets the extra variable is removed and the extra check isn't required anymore as well. Tested-by: Xiongfeng Wang <wangxiongfeng2@huawei.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions