Skip to contentSkip to conversation

hda: STAC927x VREF fix

PATCH In review Matthew Ranostay 2 participants 2 messages Jan 5, 2008 – Jan 7, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.
---

pci/hda/patch_sigmatel.c +1 -0
diff -r eeed28ed6b7d pci/hda/patch_sigmatel.c
@@ -3344,6 +3344,7 @@ static int patch_stac927x(struct hda_cod
 		spec->mixer = stac927x_mixer;
 		break;
 	case STAC_DELL_BIOS:
+		stac92xx_set_config_reg(codec, 0x0e, 0x02a79130);
 	case STAC_DELL_3ST:
 		/* GPIO2 High = Enable EAPD */
 		spec->gpio_mask = spec->gpio_data = 0x00000004;

_______________________________________________
Alsa-devel mailing list
[email protected]
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

#1 lore raw

At Fri, 04 Jan 2008 21:58:38 -0500,

Quoted 7 lines · Matthew Ranostay

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.
---

Applied (with additional comments in the code) to HG tree. Thanks.

Takashi