X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=sound%2Fpci%2Fhda%2Fpatch_via.c;h=d9a5c6a2dd9f1288152e9cf2cb684ebf78bd445e;hb=7ba72ba1fe891a94b1e9d506236507e4dc50e872;hp=4e5dd4cf36f5f6404852e9ef70a0fc7110fc5730;hpb=6c4cc3a8ed15aacc06a5fd369639fef633cee2bc;p=~andy%2Flinux diff --git a/sound/pci/hda/patch_via.c b/sound/pci/hda/patch_via.c index 4e5dd4cf36f..d9a5c6a2dd9 100644 --- a/sound/pci/hda/patch_via.c +++ b/sound/pci/hda/patch_via.c @@ -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);