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

Commit ac60578e authored by smanag's avatar smanag Committed by Gerrit - the friendly Code Review server
Browse files

ASoC: qdsp6v2: Fix incorrect ASM postproc id set for LL PCM_MODE



postprocopo_id is incorrectly set to POSTPROC_ID_NONE when
asm session is opened in LOW_LATENCY_PCM_MODE.
This is resulting in q6asm_send_cal getting struck.
Resolve this by removing the corresponding perf_mode check.

CRs-Fixed: 2080430
Change-Id: Ia755ef4bb33cae19b75f663c21b2080dee9b6654
Signed-off-by: default avatarsmanag <smanag@codeaurora.org>
parent 271134ac
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2545,8 +2545,6 @@ static int __q6asm_open_write(struct audio_client *ac, uint32_t format,
	open.bits_per_sample = bits_per_sample;

	open.postprocopo_id = q6asm_get_asm_topology_cal();
	if (ac->perf_mode != LEGACY_PCM_MODE)
		open.postprocopo_id = ASM_STREAM_POSTPROCOPO_ID_NONE;

	pr_debug("%s: perf_mode %d asm_topology 0x%x bps %d\n", __func__,
		 ac->perf_mode, open.postprocopo_id, open.bits_per_sample);