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

Merge branch 'for-3.1' into for-3.2

parents 4f7e7954 25b76791
...@@ -288,6 +288,9 @@ static int soc_pcm_close(struct snd_pcm_substream *substream) ...@@ -288,6 +288,9 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
codec_dai->active--; codec_dai->active--;
codec->active--; codec->active--;
if (!cpu_dai->active && !codec_dai->active)
rtd->rate = 0;
/* Muting the DAC suppresses artifacts caused during digital /* Muting the DAC suppresses artifacts caused during digital
* shutdown, for example from stopping clocks. * shutdown, for example from stopping clocks.
*/ */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment