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

Commit 2831d139 authored by Alexy Joseph's avatar Alexy Joseph
Browse files

ASoC: msm: qdsp6v2: fix get topology using copp idx for DTS HPX



Query topology id for a copp idx using correct q6adm api, the
currently called api adm_get_topology_for_port_from_copp_id
expects copp ID as input, while we have copp idx for input.

Change-Id: I3453898caf5f1194d199f5127a9c781e64263888
Signed-off-by: default avatarAlexy Joseph <alexyj@codeaurora.org>
parent d6415d1a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -585,7 +585,7 @@ static int _enable_post_put_control(struct snd_kcontrol *kcontrol,
		      msm_bedai.active))
			continue;
		for (idx = 0; idx < MAX_COPPS_PER_PORT; idx++) {
			topology = adm_get_topology_for_port_from_copp_id(
			topology = adm_get_topology_for_port_copp_idx(
								port_id, idx);
			if (topology ==
				ADM_CMD_COPP_OPEN_TOPOLOGY_ID_DTS_HPX) {