diff options
author | Julien Panis <[email protected]> | 2024-06-04 18:46:58 +0200 |
---|---|---|
committer | Daniel Lezcano <[email protected]> | 2024-06-12 19:07:34 +0200 |
commit | 72cacd06e47d86d89b0e7179fbc9eb3a0f39cd93 (patch) | |
tree | b04b58624ce8fd58b00abfc91916e75d5f41fad1 /scripts/checkstack.pl | |
parent | d9fef76e89498bf99cdb03f77b7091d7e95d7edd (diff) |
thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data
This patch prevents from registering thermal entries and letting the
driver misbehave if efuse data is invalid. A device is not properly
calibrated if the golden temperature is zero.
Fixes: f5f633b18234 ("thermal/drivers/mediatek: Add the Low Voltage Thermal Sensor driver")
Signed-off-by: Julien Panis <[email protected]>
Reviewed-by: Nicolas Pitre <[email protected]>
Reviewed-by: AngeloGioacchino Del Regno <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Daniel Lezcano <[email protected]>
Diffstat (limited to 'scripts/checkstack.pl')
0 files changed, 0 insertions, 0 deletions