Florian Fainelli
d4fa8aa0ef
cpufreq: brcmstb-avs-cpufreq: Fix types for voltage/frequency
...
[ Upstream commit 4c5681fcc684c762b09435de3e82ffeee7769d21 ]
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>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:46:37 +01:00
..
2019-04-05 22:31:31 +02:00
2016-07-07 00:14:27 +02:00
2016-05-05 01:40:04 +02:00
2017-07-26 00:15:44 +02:00
2016-05-05 01:40:04 +02:00
2017-02-09 01:22:44 +01:00
2020-01-27 14:46:37 +01:00
2018-07-22 14:28:42 +02:00
2018-11-13 11:14:45 -08:00
2019-05-31 06:47:19 -07:00
2017-07-26 00:15:45 +02:00
2017-07-22 02:25:20 +02:00
2016-06-09 00:58:06 +02:00
2016-06-02 23:24:15 +02:00
2016-06-02 23:24:15 +02:00
2017-07-14 13:12:32 -07:00
2016-06-02 23:24:15 +02:00
2018-02-16 20:22:43 +01:00
2018-11-13 11:14:54 -08:00
2016-09-13 02:39:12 +02:00
2017-07-26 00:15:46 +02:00
2019-12-31 12:37:40 +01:00
2017-11-02 11:10:55 +01:00
2017-11-02 11:10:55 +01:00
2017-01-02 15:02:51 +05:30
2016-04-27 22:42:34 +02:00
2017-07-26 00:15:46 +02:00
2017-06-24 01:38:00 +02:00
2016-07-07 00:13:20 +02:00
2017-07-26 00:15:46 +02:00
2017-04-15 12:20:55 +02:00
2018-12-01 09:42:53 +01:00
2019-05-14 19:18:42 +02:00
2018-02-03 17:39:00 +01:00
2017-08-22 15:50:02 +02:00
2016-11-30 08:27:08 +01:00
2019-05-31 06:47:29 -07:00
2018-03-24 11:01:21 +01:00
2017-07-26 00:15:43 +02:00
2016-05-13 14:02:08 +02:00
2017-08-18 01:44:21 +02:00
2017-11-02 11:10:55 +01:00
2017-08-10 01:29:53 +02:00
2016-06-13 23:49:43 +02:00
2017-01-30 09:22:21 +01:00
2018-02-22 15:42:24 +01:00
2019-08-16 10:13:52 +02:00
2018-07-25 11:25:08 +02:00
2019-05-31 06:47:29 -07:00
2017-08-25 01:20:46 +02:00
2018-02-22 15:42:24 +01:00
2017-05-08 17:15:14 -07:00
2019-12-17 20:39:35 +01:00
2017-02-04 00:05:30 +01:00
2019-05-31 06:47:28 -07:00
2017-11-02 11:10:55 +01:00
2019-03-23 14:35:22 +01:00
2017-05-27 17:32:24 -07:00
2018-03-08 22:41:06 -08:00
2016-12-21 02:54:18 +01:00
2017-02-09 01:22:45 +01:00
2017-07-26 22:54:01 +02:00
2017-07-26 00:15:46 +02:00
2017-07-26 00:15:46 +02:00
2017-06-05 11:14:35 +01:00
2017-06-24 01:43:21 +02:00
2017-07-26 00:15:46 +02:00
2017-04-15 12:20:56 +02:00
2017-04-15 12:20:55 +02:00
2018-02-22 15:42:24 +01:00
2017-07-16 02:12:35 +02:00
2018-02-22 15:42:24 +01:00
2017-07-26 00:15:46 +02:00
2017-08-25 01:20:46 +02:00
2017-07-22 02:20:59 +02:00
2019-03-23 14:35:22 +01:00
2017-04-19 23:23:08 +02:00
2019-11-12 19:18:28 +01:00
2017-07-26 00:15:46 +02:00
2016-05-05 01:40:04 +02:00