Merge "ASoC: msm: qdsp6v2: DAP: Enable non DAP modules on DAP disable"
This commit is contained in:
commit
63e23a6cfe
1 changed files with 14 additions and 0 deletions
|
@ -998,6 +998,20 @@ static int msm_ds2_dap_handle_bypass(struct dolby_param_data *dolby_data)
|
|||
copp_idx, rc);
|
||||
}
|
||||
}
|
||||
/* Turn on qti modules */
|
||||
for (j = 1; j < mod_list[0]; j++) {
|
||||
if (!msm_ds2_dap_can_enable_module(
|
||||
mod_list[j]) ||
|
||||
mod_list[j] ==
|
||||
DS2_MODULE_ID)
|
||||
continue;
|
||||
pr_debug("%s: param enable %d\n",
|
||||
__func__, mod_list[j]);
|
||||
adm_param_enable(port_id, copp_idx,
|
||||
mod_list[j],
|
||||
MODULE_ENABLE);
|
||||
}
|
||||
|
||||
/* Add adm api to resend calibration on port */
|
||||
rc = msm_ds2_dap_send_cal_data(i);
|
||||
if (rc < 0) {
|
||||
|
|
Loading…
Add table
Reference in a new issue