ALSA: hda - Fix initial capsrc selection in patch_alc269()
authorTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2010 05:37:39 +0000 (07:37 +0200)
committerTakashi Iwai <tiwai@suse.de>
Wed, 4 Aug 2010 05:40:53 +0000 (07:40 +0200)
In patch_alc269(), we initialize the primary capsrc so that the device
works from the beginning.  It issues CONNECT_SEL verb no matter which
widget is although some widget (e.g. 0x23) has no connection selection
but a mixer, which requires unmuting instead.

This patch fixes the initialization of capsrc by re-using the code as
a helper function.

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

Simple merge