aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci/hda/patch_hdmi.c
diff options
context:
space:
mode:
Diffstat (limited to 'sound/pci/hda/patch_hdmi.c')
-rw-r--r--sound/pci/hda/patch_hdmi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_hdmi.c b/sound/pci/hda/patch_hdmi.c
index 86b35a071a83..13ee4449718f 100644
--- a/sound/pci/hda/patch_hdmi.c
+++ b/sound/pci/hda/patch_hdmi.c
@@ -1095,7 +1095,8 @@ static int generic_hdmi_build_controls(struct hda_codec *codec)
1095 int i; 1095 int i;
1096 1096
1097 for (i = 0; i < codec->num_pcms; i++) { 1097 for (i = 0; i < codec->num_pcms; i++) {
1098 err = snd_hda_create_spdif_out_ctls(codec, spec->cvt[i]); 1098 err = snd_hda_create_spdif_out_ctls(codec, spec->cvt[i],
1099 spec->cvt[i]);
1099 if (err < 0) 1100 if (err < 0)
1100 return err; 1101 return err;
1101 } 1102 }