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 55f58e76cce78af86a04388bc56330a144b2b99f..d9a2254ceef6ff5cc6643e1eae4cf69a2484e4e0 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");