]> git.karo-electronics.de Git - karo-tx-linux.git/blobdiff - sound/soc/soc-pcm.c
Merge branch 'for-3.2' into for-3.3
[karo-tx-linux.git] / sound / soc / soc-pcm.c
index ee15337353fae5f2cf16f5ab86f94d13440dc6bd..49aa71e0d7e653d70e4102394f3ae6190bfcb22e 100644 (file)
@@ -319,7 +319,8 @@ static int soc_pcm_close(struct snd_pcm_substream *substream)
        cpu_dai->runtime = NULL;
 
        if (substream->stream == SNDRV_PCM_STREAM_PLAYBACK) {
-               if (unlikely(codec->ignore_pmdown_time)) {
+               if (codec->ignore_pmdown_time ||
+                   rtd->dai_link->ignore_pmdown_time) {
                        /* powered down playback stream now */
                        snd_soc_dapm_stream_event(rtd,
                                codec_dai->driver->playback.stream_name,