Commit:     c481fca3e68155459e9805dc8c303e012ccbee54
Parent:     740eb8358f2bf337fd4ec62abb5b8cca7c652e5a
Author:     Matthew Ranostay <[EMAIL PROTECTED]>
AuthorDate: Mon Jan 7 12:18:28 2008 +0100
Committer:  Jaroslav Kysela <[EMAIL PROTECTED]>
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 <[EMAIL PROTECTED]>
    Signed-off-by: Takashi Iwai <[EMAIL PROTECTED]>
    Signed-off-by: Jaroslav Kysela <[EMAIL PROTECTED]>
 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;
        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 [EMAIL PROTECTED]
More majordomo info at

Reply via email to