]> Pileus Git - ~andy/linux/blobdiff - sound/pci/hda/patch_via.c
[ALSA] hda-intel - Fix PCM device number assignment
[~andy/linux] / sound / pci / hda / patch_via.c
index 4e5dd4cf36f5f6404852e9ef70a0fc7110fc5730..d9a5c6a2dd9f1288152e9cf2cb684ebf78bd445e 100644 (file)
@@ -523,6 +523,7 @@ static int via_build_pcms(struct hda_codec *codec)
                codec->num_pcms++;
                info++;
                info->name = spec->stream_name_digital;
+               info->pcm_type = HDA_PCM_TYPE_SPDIF;
                if (spec->multiout.dig_out_nid) {
                        info->stream[SNDRV_PCM_STREAM_PLAYBACK] =
                                *(spec->stream_digital_playback);