qcacld-3.0: Check Thermal throttle service caps for get temp
Currently when get temperature is queried, both gThermalMitigationEnable ini and WMI_SERVICE_THERM_THROT service caps are checked in the driver. gThermalMitigationEnable ini means the thermal throttling will be done by driver if enabled and will be done by FW if disabled. So, set this ini as 0 by default in the driver as thermal throttling is done by FW and check only WMI_SERVICE_THERM_THROT service while get temperature is queried. CRs-Fixed: 3139693 Change-Id: I28e2b6cfca6ea7bf60d81045ba267e019143f3a8
This commit is contained in:

committed by
Madan Koyyalamudi

parent
e9151c4241
commit
b7dae4ffb4
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2012-2018,2020-2021 The Linux Foundation. All rights reserved.
|
||||
* Copyright (c) 2021 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
* Copyright (c) 2021-2022 Qualcomm Innovation Center, Inc. All rights reserved.
|
||||
*
|
||||
* Permission to use, copy, modify, and/or distribute this software for
|
||||
* any purpose with or without fee is hereby granted, provided that the
|
||||
@@ -181,7 +181,7 @@
|
||||
* gThermalMitigationEnable - Set Thermal mitigation feature control
|
||||
* @Min: 0
|
||||
* @Max: 1
|
||||
* @Default: 1
|
||||
* @Default: 0
|
||||
*
|
||||
* Usage: External
|
||||
*
|
||||
@@ -189,7 +189,7 @@
|
||||
*/
|
||||
#define CFG_THERMAL_MITIGATION_ENABLE CFG_INI_BOOL( \
|
||||
"gThermalMitigationEnable", \
|
||||
1, \
|
||||
0, \
|
||||
"Thermal mitigation feature control")
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user