Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 263364
b: refs/heads/master
c: 25b7679
h: refs/heads/master
v: v3
  • Loading branch information
Sascha Hauer authored and Mark Brown committed Aug 17, 2011
1 parent d3a12f8 commit d22dff4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0cc62e926324d4f3bd02d378baafbe73164fca35
refs/heads/master: 25b7679136fd85b1e5197e36a0ca126163e89590
3 changes: 3 additions & 0 deletions trunk/sound/soc/soc-pcm.c
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,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 d22dff4

Please sign in to comment.