ALSA: HDA: Fix single internal mic on ALC275 (Sony Vaio VPCSB1C5E)
authorDavid Henningsson <david.henningsson@canonical.com>
Thu, 7 Apr 2011 09:43:00 +0000 (11:43 +0200)
committerBrad Figg <brad.figg@canonical.com>
Wed, 27 Apr 2011 18:40:49 +0000 (11:40 -0700)
BugLink: http://bugs.launchpad.net/bugs/761134

commit 262ac22d21ee2bf3e1655b2e5e45cc94b356e62f upstream.

In cases where there is only one internal mic connected to ADC 0x11,
alc275_setup_dual_adc won't handle the case, so we need to add the
ADC node to the array of candidates.

BugLink: http://bugs.launchpad.net/bugs/752792
Reported-by: Vincenzo Pii
Signed-off-by: David Henningsson <david.henningsson@canonical.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Signed-off-by: Tim Gardner <tim.gardner@canonical.com>

sound/pci/hda/patch_realtek.c

index d21ce8b..e164a4b 100644 (file)
@@ -14191,7 +14191,7 @@ static hda_nid_t alc269vb_capsrc_nids[1] = {
 };
 
 static hda_nid_t alc269_adc_candidates[] = {
-       0x08, 0x09, 0x07,
+       0x08, 0x09, 0x07, 0x11,
 };
 
 #define alc269_modes           alc260_modes