cnss2: Use ol cpr to update retention voltage of aop regulator

Use ol cpr to update retention voltage of aop regulator
for qca6490 chipsets.

Change-Id: Ic67ca32964bd89fb940be069ec9468d97bbec68d
CRs-Fixed: 3326028
This commit is contained in:
Sandeep Singh
2022-09-26 15:04:26 +05:30
parent 866685439c
commit 04ddb614e4
2 changed files with 2 additions and 1 deletions

View File

@@ -540,6 +540,7 @@ int cnss_wlfw_tgt_cap_send_sync(struct cnss_plat_data *plat_priv)
strlcpy(plat_priv->fw_build_id, resp->fw_build_id,
QMI_WLFW_MAX_BUILD_ID_LEN + 1);
}
/* FW will send aop retention volatage for qca6490 */
if (resp->voltage_mv_valid) {
plat_priv->cpr_info.voltage = resp->voltage_mv;
cnss_pr_dbg("Voltage for CPR: %dmV\n",