[PATCH] thermal/drivers/mediatek/lvts_thermal: Fix sensor 1 interrupt status bitmask

Daniel Lezcano daniel.lezcano at linaro.org
Sat Apr 1 13:38:10 PDT 2023


On 28/03/2023 05:10, Chen-Yu Tsai wrote:
> 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: f5f633b18234 ("thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver")
> Signed-off-by: Chen-Yu Tsai <wenst at chromium.org>
> ---

Applied, thanks

-- 
<http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs

Follow Linaro:  <http://www.facebook.com/pages/Linaro> Facebook |
<http://twitter.com/#!/linaroorg> Twitter |
<http://www.linaro.org/linaro-blog/> Blog




More information about the Linux-mediatek mailing list