dect
/
linux-2.6
Archived
13
0
Fork 0

[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>
This commit is contained in:
Matthew Ranostay 2008-02-21 07:51:46 +01:00 committed by Takashi Iwai
parent a766264010
commit 03d7ca177f
1 changed files with 2 additions and 0 deletions

View File

@ -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 */