summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorStefan Wahren <stefan.wahren@i2se.com>2022-04-12 21:54:23 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2022-06-09 10:21:11 +0200
commit83603802954068ccd1b8a3f2ccbbaf5e0862acb0 (patch)
treeb27f22c4d5b3eb120b656520325eb485a2eaef44 /include
parent3161044e75b71d191b2b859826cfbb0d5589de5a (diff)
thermal/drivers/bcm2711: Don't clamp temperature at zero
[ Upstream commit 106e0121e243de4da7d634338089a68a8da2abe9 ] The thermal sensor on BCM2711 is capable of negative temperatures, so don't clamp the measurements at zero. Since this was the only use for variable t, drop it. This change based on a patch by Dom Cobley, who also tested the fix. Fixes: 59b781352dc4 ("thermal: Add BCM2711 thermal driver") Signed-off-by: Stefan Wahren <stefan.wahren@i2se.com> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Link: https://lore.kernel.org/r/20220412195423.104511-1-stefan.wahren@i2se.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions