ALSA: hda - Set Stream Type in Stream Format according to AES0
[deliverable/linux.git] / sound / pci / hda / hda_intel.c
index 1df25cf5ce38c35f0d04fdddd43be9ea1d23c3f4..f8a2f5aa40265f042a95067ef83b2f6bb20c3204 100644 (file)
@@ -1653,7 +1653,8 @@ static int azx_pcm_prepare(struct snd_pcm_substream *substream)
        format_val = snd_hda_calc_stream_format(runtime->rate,
                                                runtime->channels,
                                                runtime->format,
-                                               hinfo->maxbps);
+                                               hinfo->maxbps,
+                                               apcm->codec->spdif_ctls);
        if (!format_val) {
                snd_printk(KERN_ERR SFX
                           "invalid format_val, rate=%d, ch=%d, format=%d\n",
This page took 0.024142 seconds and 5 git commands to generate.