Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 4cc9524a authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: qdsp6v2: DAP: Enable non DAP modules on DAP disable"

parents 89f6e291 8c9f8d03
Loading
Loading
Loading
Loading
+14 −0
Original line number Diff line number Diff line
@@ -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) {