Files
linux/drivers/cpufreq
Florian Fainelli 9232a39de0 cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency
[ Upstream commit 4c5681fcc6 ]

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: de322e0859 ("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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:53 +01:00
..
2018-02-07 11:44:23 +01:00
2018-06-12 16:19:22 -07:00
2018-06-12 16:19:22 -07:00