mirror of
https://github.com/edk2-porting/linux-next.git
synced 2024-12-15 08:44:14 +08:00
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:
parent
95c6e9cb77
commit
efb9f469b6
@ -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");
|
||||
|
Loading…
Reference in New Issue
Block a user