Skip to content

Commit

Permalink
ALSA: hda - Fix a compile error in patch_ca0132.c for the recent SPDI…
Browse files Browse the repository at this point in the history
…F change

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jun 21, 2011
1 parent 95c6e9c commit efb9f46
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion sound/pci/hda/patch_ca0132.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit efb9f46

Please sign in to comment.