ALSA: hda: Virtualize SPDIF out controls
[linux-2.6.git] / sound / pci / hda / patch_via.c
index 8304c74..89a0f2a 100644 (file)
@@ -1497,6 +1497,7 @@ static int via_build_controls(struct hda_codec *codec)
 
        if (spec->multiout.dig_out_nid) {
                err = snd_hda_create_spdif_out_ctls(codec,
+                                                   spec->multiout.dig_out_nid,
                                                    spec->multiout.dig_out_nid);
                if (err < 0)
                        return err;