瀏覽代碼

ALSA: hda - Use common paser for digital I/O for ALC260

Avoid open-codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Takashi Iwai 14 年之前
父節點
當前提交
0e4a73ae58
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      sound/pci/hda/patch_realtek.c

+ 2 - 2
sound/pci/hda/patch_realtek.c

@@ -7200,8 +7200,8 @@ static int alc260_parse_auto_config(struct hda_codec *codec)
 
 	spec->multiout.max_channels = 2;
 
-	if (spec->autocfg.dig_outs)
-		spec->multiout.dig_out_nid = ALC260_DIGOUT_NID;
+	alc_auto_parse_digital(codec);
+
 	if (spec->kctls.list)
 		add_mixer(spec, spec->kctls.list);