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)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 9 Sep 2020 17:14:23 +0000 (19:14 +0200)
commit2551a138792a25f1820a995865814ae5435e6fd1
treeb77a1f1ad85d85e8be328b7830e009a838d8d418
parent7da369acd79f7361489c022b0a694501bbe48ec9
thermal: qcom-spmi-temp-alarm: Don't suppress negative temp

[ Upstream commit 0ffdab6f2dea9e23ec33230de24e492ff0b186d9 ]

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: c610afaa21d3c6e ("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
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/thermal/qcom/qcom-spmi-temp-alarm.c