From ef551ceb3a922b4ba9ad276f828016e546863d98 Mon Sep 17 00:00:00 2001 From: dybios Date: Wed, 6 Nov 2019 02:58:23 +0530 Subject: [PATCH] sanders: Update thermal-engine from latest CAF tag https://source.codeaurora.org/quic/la/platform/vendor/qcom-opensource/thermal-engine/tag/?h=LA.UM.8.6.r1-02300-89xx.0 Signed-off-by: ronaxdevil --- thermal-engine/Android.mk | 10 ++++------ thermal-engine/thermal_client.h | 7 +++---- 2 files changed, 7 insertions(+), 10 deletions(-) diff --git a/thermal-engine/Android.mk b/thermal-engine/Android.mk index bcb5423..511e8dc 100644 --- a/thermal-engine/Android.mk +++ b/thermal-engine/Android.mk @@ -1,9 +1,7 @@ LOCAL_PATH:= $(call my-dir) include $(CLEAR_VARS) - -LOCAL_MODULE:=thermal-engine - -LOCAL_EXPORT_C_INCLUDE_DIRS:=$(LOCAL_PATH) - -include $(BUILD_HEADER_LIBRARY) +LOCAL_COPY_HEADERS_TO := thermal-engine +LOCAL_COPY_HEADERS := ./thermal_client.h +LOCAL_VENDOR_MODULE := true +include $(BUILD_COPY_HEADERS) diff --git a/thermal-engine/thermal_client.h b/thermal-engine/thermal_client.h index dda35ff..a8fbce3 100644 --- a/thermal-engine/thermal_client.h +++ b/thermal-engine/thermal_client.h @@ -48,10 +48,9 @@ enum supported_fields { THRESHOLDS_CLR_FIELD = 0x8, SET_POINT_CLR_FIELD = THRESHOLDS_CLR_FIELD, ACTION_INFO_FIELD = 0x10, - UPPER_LIMIT_FIELD = ACTION_INFO_FIELD, - LOWER_LIMIT_FIELD = 0x20, - PASSIVE_DELAY_FIELD = 0x40, - + UPPER_LIMIT_FIELD = ACTION_INFO_FIELD, + LOWER_LIMIT_FIELD = 0x20, + PASSIVE_DELAY_FIELD = 0x40, SUPPORTED_FIELD_MAX = 0x80, };