summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/tango_thermal.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/thermal/tango_thermal.c')
-rw-r--r--drivers/thermal/tango_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/tango_thermal.c b/drivers/thermal/tango_thermal.c
index 22f9b1e92db1..70e0d9f406e9 100644
--- a/drivers/thermal/tango_thermal.c
+++ b/drivers/thermal/tango_thermal.c
@@ -80,6 +80,7 @@ static int tango_thermal_probe(struct platform_device *pdev)
return PTR_ERR(priv->base);
priv->thresh_idx = IDX_MIN;
+ writel(0, priv->base + TEMPSI_CFG);
writel(CMD_ON, priv->base + TEMPSI_CMD);
tzdev = devm_thermal_zone_of_sensor_register(&pdev->dev, 0, priv, &ops);