projects
/
platform
/
kernel
/
linux-amlogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3e5d6cb
)
thermal: G12A: update thermal driver
author
huan.biao
<huan.biao@amlogic.com>
Thu, 8 Feb 2018 07:21:25 +0000
(15:21 +0800)
committer
Yixun Lan
<yixun.lan@amlogic.com>
Mon, 5 Mar 2018 07:34:29 +0000
(15:34 +0800)
PD#156734:fix build error.
Change-Id: Iafa7c3a06d1c180ce69bcb58cc5c339c13fee65c
Signed-off-by: huan.biao <huan.biao@amlogic.com>
drivers/amlogic/thermal/meson_tsensor.c
patch
|
blob
|
history
diff --git
a/drivers/amlogic/thermal/meson_tsensor.c
b/drivers/amlogic/thermal/meson_tsensor.c
index
d08a5ea
..
d7cd459
100644
(file)
--- a/
drivers/amlogic/thermal/meson_tsensor.c
+++ b/
drivers/amlogic/thermal/meson_tsensor.c
@@
-246,7
+246,7
@@
static u32 temp_to_code(struct meson_tsensor_data *data, int temp, bool trend)
reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK)
+ TEMP_CAL;
else
- reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK)
+ reg_code = ((sensor_code >> 0x4) & R1P1_TS_TEMP_MASK)
;
break;
default:
pr_info("Cal_type not supported\n");