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

Commit 59e43aea authored by Kyle Yan's avatar Kyle Yan Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ASoC: msm: handle write done events in pause state" into msm-4.8

parents 7d5572f9 2f37c574
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -206,6 +206,9 @@ static void compr_event_handler(uint32_t opcode,
		snd_compr_fragment_elapsed(cstream);

		if (!atomic_read(&prtd->start)) {
			/* Writes must be restarted from _copy() */
			pr_debug("write_done received while not started, treat as xrun");
			atomic_set(&prtd->xrun, 1);
			spin_unlock_irq(&prtd->lock);
			break;
		}