Преглед на файлове

[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>
Matthew Ranostay преди 17 години
родител
ревизия
c481fca3e6
променени са 1 файла, в които са добавени 3 реда и са изтрити 0 реда
  1. 3 0
      sound/pci/hda/patch_sigmatel.c

+ 3 - 0
sound/pci/hda/patch_sigmatel.c

@@ -3344,6 +3344,9 @@ static int patch_stac927x(struct hda_codec *codec)
 		spec->mixer = stac927x_mixer;
 		spec->mixer = stac927x_mixer;
 		break;
 		break;
 	case STAC_DELL_BIOS:
 	case STAC_DELL_BIOS:
+		/* correct the front input jack as a mic */
+		stac92xx_set_config_reg(codec, 0x0e, 0x02a79130);
+		/* fallthru */
 	case STAC_DELL_3ST:
 	case STAC_DELL_3ST:
 		/* GPIO2 High = Enable EAPD */
 		/* GPIO2 High = Enable EAPD */
 		spec->gpio_mask = spec->gpio_data = 0x00000004;
 		spec->gpio_mask = spec->gpio_data = 0x00000004;