David Hunt ad514edf71 power: fix frequency list return code
The power_pstate_cpufreq_freqs() function was returning -1 in an
unsigned int, causing buffer over-runs when the results were being
processed. This function should be returning zero for all error
conditions, similar to it's acpi relation, power_acpi_cpufreq_freqs().

Fixes: e6c6dc0f96c8 ("power: add p-state driver compatibility")

Signed-off-by: David Hunt <david.hunt@intel.com>
2019-01-15 02:40:41 +01:00
..
2019-01-15 02:40:40 +01:00
2018-10-26 22:14:06 +02:00
2019-01-10 00:34:09 +01:00
2018-10-12 19:33:02 +02:00
2018-12-19 20:56:09 +01:00
2019-01-10 16:57:22 +01:00