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
..
2018-12-05 06:47:46 -08:00
2018-06-12 18:28:00 -07:00
2018-10-22 17:35:30 -07:00
2018-07-27 16:21:40 -07:00
2018-12-10 20:15:28 -08:00
2018-06-12 18:28:00 -07:00
2018-07-27 14:43:01 -07:00
2018-12-05 06:47:02 -08:00
2017-01-04 12:47:28 +08:00
2017-12-07 22:52:01 +01:00
2018-10-25 10:44:55 -07:00
2016-11-23 10:07:35 +08:00
2017-05-05 15:54:45 +08:00
2015-08-03 23:15:50 +08:00
2017-06-29 10:46:31 +08:00
2016-09-27 14:02:16 +08:00
2018-12-10 20:13:09 -08:00
2018-10-22 17:37:05 -07:00
2017-11-02 16:29:58 +08:00
2017-11-02 16:30:44 +08:00
2018-08-23 18:48:43 -07:00
2015-12-09 01:18:34 +01:00
2016-09-27 14:35:21 +08:00
2015-05-01 11:20:42 +08:00
2018-10-02 10:14:32 +02:00
2018-10-26 12:04:29 -07:00
2015-08-03 23:15:50 +08:00
2018-10-25 10:44:52 -07:00
2017-06-13 11:07:32 +02:00
2018-05-06 16:53:47 -07:00
2018-10-26 12:04:29 -07:00
2017-12-27 10:13:20 +08:00
2018-08-24 15:59:52 -07:00
2018-10-26 12:04:29 -07:00
2018-10-26 12:04:29 -07:00
2018-10-26 12:04:29 -07:00
2017-10-31 19:32:13 -07:00
2016-02-09 14:12:08 -08:00
2017-10-31 19:32:17 -07:00
2016-11-23 10:07:35 +08:00
2018-10-10 21:48:50 +08:00
2018-05-30 14:46:17 +08:00
2018-05-30 14:46:17 +08:00
2018-07-27 14:43:21 -07:00
2018-05-30 14:46:17 +08:00
2018-05-30 14:46:17 +08:00
2018-06-12 16:19:22 -07:00
2018-05-06 14:46:08 -07:00
2017-06-29 10:46:31 +08:00
2018-06-12 16:19:22 -07:00
2017-08-11 11:38:30 +08:00