summaryrefslogtreecommitdiff
path: root/sound
diff options
context:
space:
mode:
authorTakashi Iwai <tiwai@suse.de>2011-07-07 15:05:48 (GMT)
committerTakashi Iwai <tiwai@suse.de>2011-07-07 16:03:12 (GMT)
commit0e4a73ae5893d61ae10a9f219e2f3371e44589a8 (patch)
tree8b19edd68858a0156f1c4aa4a63f43cd747d9c73 /sound
parent21268961d3d1bbdd22a19b68adb80119e8c72dcd (diff)
downloadlinux-0e4a73ae5893d61ae10a9f219e2f3371e44589a8.tar.xz
ALSA: hda - Use common paser for digital I/O for ALC260
Avoid open-codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r--sound/pci/hda/patch_realtek.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 42026f4..8366e02 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/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);