Skip to content

Commit

Permalink
Merge branch 'for-3.1' into for-3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
Mark Brown committed Aug 17, 2011
2 parents 4f7e795 + 25b7679 commit 3d31064
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sound/soc/soc-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*/
Expand Down

0 comments on commit 3d31064

Please sign in to comment.