ALSA: hda - Fix initial capture source connections of ALC880/260
authorTakashi Iwai <tiwai@suse.de>
Fri, 9 Apr 2010 15:32:23 +0000 (17:32 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 9 Apr 2010 15:35:42 +0000 (17:35 +0200)
commit7f311a46916a3be00a1a8e3f1bdf461d08f1d263
tree9f1e407913f982757fd84948bf24c2511823eba9
parent226b1ec8c18bcb6d1aa448a29b2c8aeae1946228
ALSA: hda - Fix initial capture source connections of ALC880/260

The widget connections of ADC of ALC880 and ALC2260 aren't initialized,
thus it might point to invalid pin.  This can be a problem when mode=auto
and there is only one input pin.  Then user can't change the connection
at all.

This patch adds the code to initialize the input pin connection of these
codecs.

Reference: Novell bnc#594363
https://bugzilla.novell.com/show_bug.cgi?id=594363

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