linux-stable/drivers/thermal
Michael Kao 82871fb713 thermal: mediatek: fix register index error
[ Upstream commit eb9aecd90d ]

The index of msr and adcpnp should match the sensor
which belongs to the selected bank in the for loop.

Fixes: b7cf005373 ("thermal: Add Mediatek thermal driver for mt2701.")
Signed-off-by: Michael Kao <michael.kao@mediatek.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
2020-01-27 14:50:19 +01:00
..
broadcom
int340x_thermal
qcom
samsung
st
tegra
ti-soc-thermal
armada_thermal.c thermal: armada: fix a test in probe() 2019-12-01 09:16:54 +01:00
clock_cooling.c
cpu_cooling.c
da9062-thermal.c
db8500_thermal.c
devfreq_cooling.c
dove_thermal.c
fair_share.c
gov_bang_bang.c
hisi_thermal.c
imx_thermal.c
intel_bxt_pmic_thermal.c
intel_pch_thermal.c
intel_powerclamp.c
intel_quark_dts_thermal.c
intel_soc_dts_iosf.c
intel_soc_dts_iosf.h
intel_soc_dts_thermal.c
Kconfig
kirkwood_thermal.c
Makefile
max77620_thermal.c
mtk_thermal.c thermal: mediatek: fix register index error 2020-01-27 14:50:19 +01:00
of-thermal.c
power_allocator.c
qcom-spmi-temp-alarm.c
qoriq_thermal.c
rcar_gen3_thermal.c
rcar_thermal.c thermal: rcar_thermal: Prevent hardware access during system suspend 2019-12-01 09:17:00 +01:00
rockchip_thermal.c
spear_thermal.c
step_wise.c
tango_thermal.c
thermal-generic-adc.c
thermal_core.c thermal: Fix deadlock in thermal thermal_zone_device_check 2019-12-13 08:52:50 +01:00
thermal_core.h
thermal_helpers.c
thermal_hwmon.c
thermal_hwmon.h
thermal_sysfs.c
uniphier_thermal.c
user_space.c
x86_pkg_temp_thermal.c
zx2967_thermal.c