qcacld-3.0: update number of thermal conf param for thermal throttle config
Currently firmware is crashing due to levelconf structure received NULL from host. Hence initialize num_thermal_conf param to fill levelconf structure part of WMI_THERM_THROT_SET_CONF_CMDID. Change-Id: Ifcfb49253222fff6656327d9be3977a707c18af4 CRs-Fixed: 3064400
このコミットが含まれているのは:
@@ -1,6 +1,6 @@
|
||||
/*
|
||||
* Copyright (c) 2013-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
|
||||
@@ -1736,6 +1736,7 @@ static QDF_STATUS wma_update_thermal_mitigation_to_fw(tp_wma_handle wma,
|
||||
therm_data.levelconf[0].dcoffpercent =
|
||||
wma->thermal_mgmt_info.throttle_duty_cycle_tbl[thermal_level];
|
||||
therm_data.levelconf[0].priority = 0;
|
||||
therm_data.num_thermal_conf = 1;
|
||||
|
||||
return wmi_unified_thermal_mitigation_param_cmd_send(wma->wmi_handle,
|
||||
&therm_data);
|
||||
|
新しいイシューから参照
ユーザーをブロックする