]> git.baikalelectronics.ru Git - kernel.git/commit
thermal: qcom-spmi-temp-alarm: Don't suppress negative temp
authorVeera Vegivada <vvegivad@codeaurora.org>
Wed, 29 Jul 2020 16:52:51 +0000 (09:52 -0700)
committerDaniel Lezcano <daniel.lezcano@linaro.org>
Fri, 4 Sep 2020 09:52:54 +0000 (11:52 +0200)
commit61939a07dac1668af81b1e9c9c25a726bffc8b8e
tree389dbdb13c2860c01f91a4a12640f426744a5873
parent6489f42168c47457087ce0cb99813c9c63ae9cd4
thermal: qcom-spmi-temp-alarm: Don't suppress negative temp

Currently driver is suppressing the negative temperature
readings from the vadc. Consumers of the thermal zones need
to read the negative temperature too. Don't suppress the
readings.

Fixes: 2c676ce008ac87d ("thermal: Add QPNP PMIC temperature alarm driver")
Signed-off-by: Veera Vegivada <vvegivad@codeaurora.org>
Signed-off-by: Guru Das Srinagesh <gurus@codeaurora.org>
Reviewed-by: Stephen Boyd <sboyd@kernel.org>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/944856eb819081268fab783236a916257de120e4.1596040416.git.gurus@codeaurora.org
drivers/thermal/qcom/qcom-spmi-temp-alarm.c