Skip to content
Commit 106e0121 authored by Stefan Wahren's avatar Stefan Wahren Committed by Daniel Lezcano
Browse files

thermal/drivers/bcm2711: Don't clamp temperature at zero



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: 59b78135 ("thermal: Add BCM2711 thermal driver")
Signed-off-by: default avatarStefan Wahren <stefan.wahren@i2se.com>
Acked-by: default avatarFlorian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20220412195423.104511-1-stefan.wahren@i2se.com


Signed-off-by: default avatarDaniel Lezcano <daniel.lezcano@linaro.org>
parent 2caf7396
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment