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

Commit 42162e39 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: Use the same topology for next stream"

parents 3aed68ed cfade7b5
Loading
Loading
Loading
Loading
+6 −1
Original line number Diff line number Diff line
@@ -2252,6 +2252,11 @@ static int __q6asm_open_write(struct audio_client *ac, uint32_t format,
	pr_debug("%s: perf_mode %d asm_topology 0x%x bps %d\n", __func__,
		 ac->perf_mode, open.postprocopo_id, open.bits_per_sample);

	/*
	 * For Gapless playback it will use the same session for next stream,
	 * So use the same topology
	 */
	if (!ac->topology)
		ac->topology = open.postprocopo_id;
	switch (format) {
	case FORMAT_LINEAR_PCM: