[ALSA] hda: STAC927x VREF fix

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, January 31, 2008 - 5:02 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=c481fc...
Commit:     c481fca3e68155459e9805dc8c303e012ccbee54
Parent:     740eb8358f2bf337fd4ec62abb5b8cca7c652e5a
Author:     Matthew Ranostay <mranostay@embeddedalley.com>
AuthorDate: Mon Jan 7 12:18:28 2008 +0100
Committer:  Jaroslav Kysela <perex@perex.cz>
CommitDate: Thu Jan 31 17:29:45 2008 +0100

    [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>
---
 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 a074155..4e71bba 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;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ALSA] hda: STAC927x VREF fix, Linux Kernel Mailing ..., (Thu Jan 31, 5:02 pm)