diff options
author | Matthew Ranostay <mranostay@embeddedalley.com> | 2008-01-07 06:18:28 -0500 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-01-31 11:29:45 -0500 |
commit | c481fca3e68155459e9805dc8c303e012ccbee54 (patch) | |
tree | d10ca3c86fe311671732cc8d66f5b6ab7d90593f | |
parent | 740eb8358f2bf337fd4ec62abb5b8cca7c652e5a (diff) |
[ALSA] hda: STAC927x VREF fix
Some laptops incorrectly assume the front input jack as a line in
instead of a microphone in. Which in turn disables the voltage
reference, in which non-amplified input is not possible. This patch
enables VREF80 for the input jack.
Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index a074155dd8d5..4e71bbaa1954 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -3344,6 +3344,9 @@ static int patch_stac927x(struct hda_codec *codec) | |||
3344 | spec->mixer = stac927x_mixer; | 3344 | spec->mixer = stac927x_mixer; |
3345 | break; | 3345 | break; |
3346 | case STAC_DELL_BIOS: | 3346 | case STAC_DELL_BIOS: |
3347 | /* correct the front input jack as a mic */ | ||
3348 | stac92xx_set_config_reg(codec, 0x0e, 0x02a79130); | ||
3349 | /* fallthru */ | ||
3347 | case STAC_DELL_3ST: | 3350 | case STAC_DELL_3ST: |
3348 | /* GPIO2 High = Enable EAPD */ | 3351 | /* GPIO2 High = Enable EAPD */ |
3349 | spec->gpio_mask = spec->gpio_data = 0x00000004; | 3352 | spec->gpio_mask = spec->gpio_data = 0x00000004; |