aboutsummaryrefslogtreecommitdiff
path: root/lib/overflow_kunit.c
diff options
context:
space:
mode:
authorJulien Panis <jpanis@baylibre.com>2024-06-04 18:46:58 +0200
committerDaniel Lezcano <daniel.lezcano@linaro.org>2024-06-12 19:07:34 +0200
commit72cacd06e47d86d89b0e7179fbc9eb3a0f39cd93 (patch)
treeb04b58624ce8fd58b00abfc91916e75d5f41fad1 /lib/overflow_kunit.c
parentd9fef76e89498bf99cdb03f77b7091d7e95d7edd (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 <jpanis@baylibre.com> Reviewed-by: Nicolas Pitre <npitre@baylibre.com> Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com> Link: https://lore.kernel.org/r/20240604-mtk-thermal-calib-check-v2-1-8f258254051d@baylibre.com Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'lib/overflow_kunit.c')
0 files changed, 0 insertions, 0 deletions