aboutsummaryrefslogtreecommitdiffstats
path: root/sound/pci
diff options
context:
space:
mode:
authorMatthew Ranostay <mranostay@embeddedalley.com>2008-02-21 01:51:46 -0500
committerTakashi Iwai <tiwai@suse.de>2008-04-24 06:00:14 -0400
commit03d7ca177fd2ecac8eb22f482f327ecaae4ac8cb (patch)
tree3705f711c9c12a6a3ecfb4d2951ddeac0574a144 /sound/pci
parenta7662640104599249e15cda7839e9050f92e6a0e (diff)
[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>
Diffstat (limited to 'sound/pci')
-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 a0c290cef763..314ea51538b7 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)
3721 spec->mixer = stac927x_mixer; 3721 spec->mixer = stac927x_mixer;
3722 break; 3722 break;
3723 case STAC_DELL_BIOS: 3723 case STAC_DELL_BIOS:
3724 /* configure the analog microphone on some laptops */
3725 stac92xx_set_config_reg(codec, 0x0c, 0x90a79130);
3724 /* correct the front output jack as a hp out */ 3726 /* correct the front output jack as a hp out */
3725 stac92xx_set_config_reg(codec, 0x0f, 0x0227011f); 3727 stac92xx_set_config_reg(codec, 0x0f, 0x0227011f);
3726 /* correct the front input jack as a mic */ 3728 /* correct the front input jack as a mic */