aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Ranostay <mranostay@embeddedalley.com>2008-02-21 07:51:46 +0100
committerTakashi Iwai <tiwai@suse.de>2008-04-24 12:00:14 +0200
commit03d7ca177fd2ecac8eb22f482f327ecaae4ac8cb (patch)
tree3705f711c9c12a6a3ecfb4d2951ddeac0574a144
parenta7662640104599249e15cda7839e9050f92e6a0e (diff)
downloadkernel_goldelico_gta04-03d7ca177fd2ecac8eb22f482f327ecaae4ac8cb.zip
kernel_goldelico_gta04-03d7ca177fd2ecac8eb22f482f327ecaae4ac8cb.tar.gz
kernel_goldelico_gta04-03d7ca177fd2ecac8eb22f482f327ecaae4ac8cb.tar.bz2
[ALSA] hda: STAC927x analog mic
Some laptops have a internal analog microphone that is not setup by the BIOS. Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com> Signed-off-by: Takashi Iwai <tiwai@suse.de>
-rw-r--r--sound/pci/hda/patch_sigmatel.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c
index a0c290c..314ea51 100644
--- a/sound/pci/hda/patch_sigmatel.c
+++ b/sound/pci/hda/patch_sigmatel.c
@@ -3721,6 +3721,8 @@ static int patch_stac927x(struct hda_codec *codec)
spec->mixer = stac927x_mixer;
break;
case STAC_DELL_BIOS:
+ /* configure the analog microphone on some laptops */
+ stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
/* correct the front output jack as a hp out */
stac92xx_set_config_reg(codec, 0x0f, 0x0227011f);
/* correct the front input jack as a mic */