summaryrefslogtreecommitdiff
path: root/scripts/generate_rust_analyzer.py
diff options
context:
space:
mode:
authorSumit Gupta <sumitg@nvidia.com>2020-10-14 12:36:11 +0300
committerViresh Kumar <viresh.kumar@linaro.org>2020-12-07 10:32:37 +0300
commit68b9cd7270f0191bd51b635f8f4778951ee3811a (patch)
tree7eae5b3e7b406878fe2412544fab370b6855313f /scripts/generate_rust_analyzer.py
parent75118c8ef9d16ecbb56e37547061515c75bb91b4 (diff)
downloadlinux-68b9cd7270f0191bd51b635f8f4778951ee3811a.tar.xz
cpufreq: tegra194: get consistent cpuinfo_cur_freq
Frequency returned by 'cpuinfo_cur_freq' using counters is not fixed and keeps changing slightly. This change returns a consistent value from freq_table. If the reconstructed frequency has acceptable delta from the last written value, then return the frequency corresponding to the last written ndiv value from freq_table. Otherwise, print a warning and return the reconstructed freq. Signed-off-by: Sumit Gupta <sumitg@nvidia.com> Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions