ALSA: hda - Fix a compile error in patch_ca0132.c for the recent SPDIF change
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Jun 2011 05:44:51 +0000 (07:44 +0200)
committerTakashi Iwai <tiwai@suse.de>
Tue, 21 Jun 2011 05:44:51 +0000 (07:44 +0200)
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_ca0132.c

index 55f58e7..d9a2254 100644 (file)
@@ -921,7 +921,8 @@ static int ca0132_build_controls(struct hda_codec *codec)
        }
 
        if (spec->dig_out) {
-               err = snd_hda_create_spdif_out_ctls(codec, spec->dig_out);
+               err = snd_hda_create_spdif_out_ctls(codec, spec->dig_out,
+                                                   spec->dig_out);
                if (err < 0)
                        return err;
                err = add_out_volume(codec, spec->dig_out, "IEC958");