diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2019-05-22 11:45:47 -0700 |
---|---|---|
committer | Viresh Kumar <viresh.kumar@linaro.org> | 2019-06-04 09:31:41 +0530 |
commit | 4c5681fcc684c762b09435de3e82ffeee7769d21 (patch) | |
tree | da7ff95ab26771014852ea38b4bdfa2edd8d0449 /tools/perf/scripts/python/syscall-counts.py | |
parent | 22a26cc6a51ef73dcfeb64c50513903f6b2d53d8 (diff) |
cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency
What we read back from the register is going to be capped at 32-bits,
and cpufreq_freq_table.frequency is an unsigned int. Avoid any possible
value truncation by using the appropriate return value.
Fixes: de322e085995 ("cpufreq: brcmstb-avs-cpufreq: AVS CPUfreq driver for Broadcom STB SoCs")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Markus Mayer <mmayer@broadcom.com>
Signed-off-by: Viresh Kumar <viresh.kumar@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions