提交 431c30f7 编写于 作者: M Marc Gonzalez 提交者: Eduardo Valentin

thermal: tango: initialize TEMPSI_CFG

TEMPSI_CFG is not equal to 0 at reset. It must be initialized.
Signed-off-by: NMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: NEduardo Valentin <edubezval@gmail.com>
上级 2fe5c1b0
......@@ -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);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册