aboutsummaryrefslogtreecommitdiff
path: root/thermal/thermal.c
diff options
context:
space:
mode:
authorDavide Garberi <dade.garberi@gmail.com>2022-08-08 01:45:34 +0200
committerDavide Garberi <dade.garberi@gmail.com>2022-08-16 12:21:37 +0200
commita8ebb3c391f127ef9463938254a3b876adb21046 (patch)
tree98e1e64afaf7d406d3746a0bc17c189f951e32a6 /thermal/thermal.c
parent9a7d684727fbd018e416bba63ee69cfdb9259391 (diff)
msm8996-common: thermal: Adjust thermal zones
Change-Id: If560adfd69a6c3a1cc9f837b31d16b0bff3e3b15
Diffstat (limited to 'thermal/thermal.c')
-rw-r--r--thermal/thermal.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/thermal/thermal.c b/thermal/thermal.c
index 9bef5b0..75d0e46 100644
--- a/thermal/thermal.c
+++ b/thermal/thermal.c
@@ -32,9 +32,9 @@
#define TEMPERATURE_FILE_FORMAT "/sys/class/thermal/thermal_zone%d/temp"
#define CPU_ONLINE_FILE_FORMAT "/sys/devices/system/cpu/cpu%d/online"
-#define BATTERY_SENSOR_NUM 29
-#define GPU_SENSOR_NUM 14
-#define SKIN_SENSOR_NUM 24
+#define BATTERY_SENSOR_NUM 21
+#define GPU_SENSOR_NUM 18
+#define SKIN_SENSOR_NUM 2
const int CPU_SENSORS[] = {4, 6, 9, 11};