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

Commit c98a60c7 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: do not set cmd_interrupt flag in eos for gapless"

parents 754eebb8 a07d8e72
Loading
Loading
Loading
Loading
+9 −2
Original line number Diff line number Diff line
@@ -1528,8 +1528,15 @@ static int msm_compr_trigger(struct snd_compr_stream *cstream, int cmd)
		}
		if (atomic_read(&prtd->eos)) {
			pr_debug("%s: interrupt eos wait queues", __func__);
			/*
			 * Gapless playback does not wait for eos, do not set
			 * cmd_int and do not wake up eos_wait during gapless
			 * transition
			 */
			if (!prtd->gapless_state.gapless_transition) {
				prtd->cmd_interrupt = 1;
				wake_up(&prtd->eos_wait);
			}
			atomic_set(&prtd->eos, 0);
		}
		if (atomic_read(&prtd->drain)) {