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)
commit748cce431eb413e794c8f1d1974b78b47a6174ef
tree88f4ece6d836c5bdd813fc19b297876385d8c157
parente096c8e6d5ed965f346d94befbbec2275dde3621
ALSA: hda - Fix initial capsrc selection in patch_alc269()

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