Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 111000
b: refs/heads/master
c: 6010b2d
h: refs/heads/master
v: v3
  • Loading branch information
Mark Brown authored and Jaroslav Kysela committed Sep 9, 2008
1 parent 1459d86 commit 6b32604
Show file tree
Hide file tree
Showing 2 changed files with 7 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: 3e860846d7f44993ded9b4fbf36e7b051b86df08
refs/heads/master: 6010b2da1f11752dd58191423fc9878b0ce420c8
6 changes: 6 additions & 0 deletions trunk/sound/soc/soc-core.c
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,12 @@ static int soc_codec_close(struct snd_pcm_substream *substream)
}
codec->active--;

/* Muting the DAC suppresses artifacts caused during digital
* shutdown, for example from stopping clocks.
*/
if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK)
snd_soc_dai_digital_mute(codec_dai, 1);

if (cpu_dai->ops.shutdown)
cpu_dai->ops.shutdown(substream);

Expand Down

0 comments on commit 6b32604

Please sign in to comment.