linux/drivers/thermal/mediatek
Chen-Yu Tsai 13f03bcd02 thermal/drivers/mediatek/lvts_thermal: Fix sensor 1 interrupt status bitmask
The binary representation for sensor 1 interrupt status was incorrectly
assembled, when compared to the full table given in the same comment
section. The conversion into hex was also incorrect, leading to
incorrect interrupt status bitmask for sensor 1. This would cause the
driver to incorrectly identify changes for sensor 1, when in fact it
was sensor 0, or a sensor access time out.

Fix the binary and hex representations in the comments, and the actual
bitmask macro.

Fixes: f5f633b182 ("thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver")
Signed-off-by: Chen-Yu Tsai <wenst@chromium.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20230328031017.1360976-1-wenst@chromium.org
2023-04-07 11:18:28 +02:00
..
auxadc_thermal.c thermal/drivers/mediatek: Add delay after thermal banks initialization 2023-04-01 20:51:29 +02:00
Kconfig
lvts_thermal.c thermal/drivers/mediatek/lvts_thermal: Fix sensor 1 interrupt status bitmask 2023-04-07 11:18:28 +02:00
Makefile