Re: [PATCH v2] thermal/drivers/mediatek/lvts_thermal: Return error in case of invalid efuse data

From: AngeloGioacchino Del Regno
Date: Wed Jun 05 2024 - 07:04:58 EST


Il 04/06/24 18:46, Julien Panis ha scritto:
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@xxxxxxxxxxxx>

Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@xxxxxxxxxxxxx>