Merge git://git.jan-o-sch.net/btrfs-unstable into integration
[deliverable/linux.git] / sound / soc / soc-pcm.c
index b5759397afa342a89fe494b51d2d97e2a0d3e346..2879c883eebc2161d0c1ff3fdc14e764cde9ac33 100644 (file)
@@ -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.
         */
This page took 0.023354 seconds and 5 git commands to generate.