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:
@@ -921,7 +921,8 @@ static int ca0132_build_controls(struct hda_codec *codec)
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (spec->dig_out) {
|
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)
|
if (err < 0)
|
||||||
return err;
|
return err;
|
||||||
err = add_out_volume(codec, spec->dig_out, "IEC958");
|
err = add_out_volume(codec, spec->dig_out, "IEC958");
|
||||||
|
Reference in New Issue
Block a user