linux_dsm_epyc7002/drivers/thermal
hongbo.zhang 9c51b05a78 Thermal: fix bug of counting cpu frequencies.
In the while loop for counting cpu frequencies, if table[i].frequency equals
CPUFREQ_ENTRY_INVALID, index i won't be increased, so this leads to an endless
loop, what's more the index i cannot be referred as cpu frequencies number if
there is CPUFREQ_ENTRY_INVALID case.

Signed-off-by: hongbo.zhang <hongbo.zhang@linaro.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Amit Daniel Kachhap <amit.kachhap@linaro.org>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
2012-11-07 14:49:43 +08:00
..
cpu_cooling.c Thermal: fix bug of counting cpu frequencies. 2012-11-07 14:49:43 +08:00
exynos_thermal.c Thermal: Pass zone parameters as argument to tzd_register 2012-11-05 13:59:57 +08:00
fair_share.c thermal: fair_share: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
Kconfig Thermal: Provide option to choose default thermal governor 2012-11-05 14:00:09 +08:00
Makefile Thermal: Add a thermal notifier for user space 2012-11-05 14:00:08 +08:00
rcar_thermal.c thermal: rcar_thermal: remove explicitly used devm_kfree/iounap() 2012-11-07 11:35:46 +08:00
spear_thermal.c Thermal: Pass zone parameters as argument to tzd_register 2012-11-05 13:59:57 +08:00
step_wise.c thermal: step_wise: Add missing static storage class specifiers 2012-11-05 14:00:10 +08:00
thermal_core.h Thermal: Move thermal_instance to thermal_core.h 2012-11-05 13:56:32 +08:00
thermal_sys.c Thermal: Fix oops and unlocking in thermal_sys.c 2012-11-05 14:00:10 +08:00
user_space.c thermal: user_space: Add missing static storage class specifiers 2012-11-05 14:00:11 +08:00