diff options
author | Daniel T Chen <crimsun@ubuntu.com> | 2009-12-19 18:19:02 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-12-21 05:16:19 -0500 |
commit | e2595322a3a353a59cecd7f57e7aa421ecb02d12 (patch) | |
tree | 651548d1662166212b4c8ca9ace2c154f9aaaa97 /sound/pci/hda | |
parent | 2fef62c825f09e29d2f52dc187ddf6f99e28c7f1 (diff) |
ALSA: hda: Set Front Mic to input vref 50% for Lenovo 3000 Y410
BugLink: https://bugs.launchpad.net/bugs/479373
The OR has verified with hda-verb that the internal microphone needs
VREF50 set for audible capture.
Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 84bc2c7c4421..1554c3a6fd2e 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -10686,6 +10686,13 @@ static struct hda_verb alc262_lenovo_3000_unsol_verbs[] = { | |||
10686 | {} | 10686 | {} |
10687 | }; | 10687 | }; |
10688 | 10688 | ||
10689 | static struct hda_verb alc262_lenovo_3000_init_verbs[] = { | ||
10690 | /* Front Mic pin: input vref at 50% */ | ||
10691 | {0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50}, | ||
10692 | {0x19, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE}, | ||
10693 | {} | ||
10694 | }; | ||
10695 | |||
10689 | static struct hda_input_mux alc262_fujitsu_capture_source = { | 10696 | static struct hda_input_mux alc262_fujitsu_capture_source = { |
10690 | .num_items = 3, | 10697 | .num_items = 3, |
10691 | .items = { | 10698 | .items = { |
@@ -11728,7 +11735,8 @@ static struct alc_config_preset alc262_presets[] = { | |||
11728 | [ALC262_LENOVO_3000] = { | 11735 | [ALC262_LENOVO_3000] = { |
11729 | .mixers = { alc262_lenovo_3000_mixer }, | 11736 | .mixers = { alc262_lenovo_3000_mixer }, |
11730 | .init_verbs = { alc262_init_verbs, alc262_EAPD_verbs, | 11737 | .init_verbs = { alc262_init_verbs, alc262_EAPD_verbs, |
11731 | alc262_lenovo_3000_unsol_verbs }, | 11738 | alc262_lenovo_3000_unsol_verbs, |
11739 | alc262_lenovo_3000_init_verbs }, | ||
11732 | .num_dacs = ARRAY_SIZE(alc262_dac_nids), | 11740 | .num_dacs = ARRAY_SIZE(alc262_dac_nids), |
11733 | .dac_nids = alc262_dac_nids, | 11741 | .dac_nids = alc262_dac_nids, |
11734 | .hp_nid = 0x03, | 11742 | .hp_nid = 0x03, |