diff options
Diffstat (limited to 'sound/pci/hda/patch_cirrus.c')
-rw-r--r-- | sound/pci/hda/patch_cirrus.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_cirrus.c b/sound/pci/hda/patch_cirrus.c index 61a71131711c..a7f8790ae885 100644 --- a/sound/pci/hda/patch_cirrus.c +++ b/sound/pci/hda/patch_cirrus.c | |||
@@ -873,8 +873,9 @@ static int build_digital_output(struct hda_codec *codec) | |||
873 | if (!spec->multiout.dig_out_nid) | 873 | if (!spec->multiout.dig_out_nid) |
874 | return 0; | 874 | return 0; |
875 | 875 | ||
876 | err = snd_hda_create_spdif_out_ctls(codec, spec->multiout.dig_out_nid, | 876 | err = snd_hda_create_dig_out_ctls(codec, spec->multiout.dig_out_nid, |
877 | spec->multiout.dig_out_nid); | 877 | spec->multiout.dig_out_nid, |
878 | spec->pcm_rec[1].pcm_type); | ||
878 | if (err < 0) | 879 | if (err < 0) |
879 | return err; | 880 | return err; |
880 | err = snd_hda_create_spdif_share_sw(codec, &spec->multiout); | 881 | err = snd_hda_create_spdif_share_sw(codec, &spec->multiout); |