diff options
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 8253b4eeb6a1..2d2bb6629988 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -1836,9 +1836,10 @@ static int __alc_build_controls(struct hda_codec *codec) | |||
1836 | return err; | 1836 | return err; |
1837 | } | 1837 | } |
1838 | if (spec->multiout.dig_out_nid) { | 1838 | if (spec->multiout.dig_out_nid) { |
1839 | err = snd_hda_create_spdif_out_ctls(codec, | 1839 | err = snd_hda_create_dig_out_ctls(codec, |
1840 | spec->multiout.dig_out_nid, | 1840 | spec->multiout.dig_out_nid, |
1841 | spec->multiout.dig_out_nid); | 1841 | spec->multiout.dig_out_nid, |
1842 | spec->pcm_rec[1].pcm_type); | ||
1842 | if (err < 0) | 1843 | if (err < 0) |
1843 | return err; | 1844 | return err; |
1844 | if (!spec->no_analog) { | 1845 | if (!spec->no_analog) { |