From: Matthew Ranostay Date: Mon, 7 Jan 2008 11:18:28 +0000 (+0100) Subject: [ALSA] hda: STAC927x VREF fix X-Git-Tag: v2.6.25-rc1~1127^2~163 X-Git-Url: http://pilppa.com/gitweb/?a=commitdiff_plain;h=c481fca3e68155459e9805dc8c303e012ccbee54;p=linux-2.6-omap-h63xx.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index a074155dd8d..4e71bbaa195 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) spec->mixer = stac927x_mixer; break; case STAC_DELL_BIOS: + /* correct the front input jack as a mic */ + stac92xx_set_config_reg(codec, 0x0e, 0x02a79130); + /* fallthru */ case STAC_DELL_3ST: /* GPIO2 High = Enable EAPD */ spec->gpio_mask = spec->gpio_data = 0x00000004;