ALSA: hda - Fix DAC filling for multi-connection pins in Realtek parser
authorTakashi Iwai <tiwai@suse.de>
Sat, 23 Jul 2011 16:57:11 +0000 (18:57 +0200)
committerTakashi Iwai <tiwai@suse.de>
Sat, 23 Jul 2011 16:57:11 +0000 (18:57 +0200)
commit8f398ae72fc7e03356fc1ee6b54beef79ba6be6a
treeec429e5c3077cb1f88637555606118ce39bdfd2d
parent76531d4166fb620375ff3c1ac24753265216d579
ALSA: hda - Fix DAC filling for multi-connection pins in Realtek parser

Fix a regression in the DAC filling code in patch_realtek.c.  The already
filled DACs in multiout.dac_nids[] were ignored because of num_dacs=0,
thus always pointed to the first DAC.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/patch_realtek.c