From 0e4a73ae5893d61ae10a9f219e2f3371e44589a8 Mon Sep 17 00:00:00 2001
From: Takashi Iwai <tiwai@suse.de>
Date: Thu, 7 Jul 2011 17:05:48 +0200
Subject: [PATCH] ALSA: hda - Use common paser for digital I/O for ALC260
Git-commit: 0e4a73ae5893d61ae10a9f219e2f3371e44589a8
Patch-mainline: 3.1-rc2
Refernces: FATE#314106,FATE#314311,FATE#313695

Avoid open-codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>

---
 sound/pci/hda/patch_realtek.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -7210,8 +7210,8 @@ static int alc260_parse_auto_config(stru
 
 	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);
 
