lkml.org 
[lkml]   [2020]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[RFC PATCH v6 6/8] drivers: thermal: tsens: Change calib_backup name for msm8960
Date
Follow standard naming for calib secondary rom and change calib_backup
to tsens_calsel.

Signed-off-by: Ansuel Smith <ansuelsmth@gmail.com>
---
drivers/thermal/qcom/tsens-8960.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/thermal/qcom/tsens-8960.c b/drivers/thermal/qcom/tsens-8960.c
index ca83c7f838a5..a8c85bd6c71f 100644
--- a/drivers/thermal/qcom/tsens-8960.c
+++ b/drivers/thermal/qcom/tsens-8960.c
@@ -191,7 +191,7 @@ static int calibrate_8960(struct tsens_priv *priv)

data = qfprom_read(priv->dev, "calib");
if (IS_ERR(data))
- data = qfprom_read(priv->dev, "calib_backup");
+ data = qfprom_read(priv->dev, "calib_sel");
if (IS_ERR(data))
return PTR_ERR(data);

--
2.27.0
\
 
 \ /
  Last update: 2020-08-14 15:43    [W:0.109 / U:1.332 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site