dect
/
linux-2.6
Archived
13
0
Fork 0

ALSA: hda - Fix a compile error in patch_ca0132.c for the recent SPDIF change

Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2011-06-21 07:44:51 +02:00
parent 95c6e9cb77
commit efb9f469b6
1 changed files with 2 additions and 1 deletions

View 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");