浏览代码

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

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 14 年之前
父节点
当前提交
efb9f469b6
共有 1 个文件被更改,包括 2 次插入1 次删除
  1. 2 1
      sound/pci/hda/patch_ca0132.c

+ 2 - 1
sound/pci/hda/patch_ca0132.c

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