[ALSA] hda-codec - Fix mic input with STAC92xx codecs
authorTakashi Iwai <tiwai@suse.de>
Thu, 21 Sep 2006 09:56:18 +0000 (11:56 +0200)
committerJaroslav Kysela <perex@suse.cz>
Sat, 23 Sep 2006 08:48:01 +0000 (10:48 +0200)
commit314634bc81325dcfeb31ed138647d428b1f26cbf
tree9a230e872a69e13d026eae4cb247b1447b14c88f
parent7ffffecc7c4df08ad89723ca32d936ff09b5b3ff
[ALSA] hda-codec - Fix mic input with STAC92xx codecs

Fixed mic input with STAC92xx codecs.  The mic pin was sometimes set to
OUTPUT by the headphone jack detection.
Also, try to assign a secondary mic as front-mic (or vice versa)
in the auto-detection if possible.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_codec.c
sound/pci/hda/patch_sigmatel.c