WSL2-Linux-Kernel/drivers/thermal/st
David HERNANDEZ SANCHEZ 99c47fcd4d thermal: stm32: Fix stm_thermal_read_factory_settings
Adding brackets allows to multiply the register value,
masked by TS1_RAMP_COEFF_MASK, by an ADJUST value
properly and not to multiply ADJUST by register value and
then mask the whole.

Fixes: 1d693155 ("thermal: add stm32 thermal driver")
Reviewed-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Signed-off-by: David Hernandez Sanchez <david.hernandezsanchez@st.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
2018-12-10 20:15:28 -08:00
..
Kconfig thermal: add stm32 thermal driver 2018-10-25 10:44:52 -07:00
Makefile thermal: add stm32 thermal driver 2018-10-25 10:44:52 -07:00
st_thermal.c Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux 2015-09-11 16:13:47 -07:00
st_thermal.h
st_thermal_memmap.c thermal: Enhance thermal_zone_device_update for events 2016-09-27 14:35:21 +08:00
st_thermal_syscfg.c drivers: thermal: st: remove several sparse warnings 2015-04-07 13:43:28 -07:00
stm_thermal.c thermal: stm32: Fix stm_thermal_read_factory_settings 2018-12-10 20:15:28 -08:00