summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcongying <quic_congying@quicinc.com>2022-11-17 18:29:04 +0800
committercongying <quic_congying@quicinc.com>2022-12-02 09:01:31 +0800
commit7c1757103d0748c604fd1b36c80568249b3bc0a4 (patch)
tree3d21b9811a3827015d696fecde1e6cefa6cedeef
parent75b5f1db952c1a883ddd4cccb55f546f30287674 (diff)
thermal-hal: Add fan cdev type in thermal-hal support for Kalama HHG
Add fan cdev type in thermal-hal support for Kalama HHG. Change-Id: Ie65c43f79b7899b2b7b2e77cb074dbd67f6bd872 Signed-off-by: congying <quic_congying@quicinc.com>
-rw-r--r--thermalCommon.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/thermalCommon.cpp b/thermalCommon.cpp
index 02c14e1..3f0c997 100644
--- a/thermalCommon.cpp
+++ b/thermalCommon.cpp
@@ -107,6 +107,7 @@ static std::unordered_map<std::string, cdevType> cdev_map = {
{"cdsp", cdevType::NPU},
{"cdsp_hw", cdevType::NPU},
{"battery", cdevType::BATTERY},
+ {"fan-max31760", cdevType::FAN},
};
ThermalCommon::ThermalCommon()