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

Commit 3d310643 authored by Mark Brown's avatar Mark Brown
Browse files

Merge branch 'for-3.1' into for-3.2

parents 4f7e7954 25b76791
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -288,6 +288,9 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
	codec_dai->active--;
	codec->active--;

	if (!cpu_dai->active && !codec_dai->active)
		rtd->rate = 0;

	/* Muting the DAC suppresses artifacts caused during digital
	 * shutdown, for example from stopping clocks.
	 */