Commit e2595322 authored by Daniel T Chen's avatar Daniel T Chen Committed by Takashi Iwai

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: default avatarDaniel T Chen <crimsun@ubuntu.com>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 2fef62c8
...@@ -10686,6 +10686,13 @@ static struct hda_verb alc262_lenovo_3000_unsol_verbs[] = { ...@@ -10686,6 +10686,13 @@ static struct hda_verb alc262_lenovo_3000_unsol_verbs[] = {
{} {}
}; };
static struct hda_verb alc262_lenovo_3000_init_verbs[] = {
/* Front Mic pin: input vref at 50% */
{0x19, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF50},
{0x19, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE},
{}
};
static struct hda_input_mux alc262_fujitsu_capture_source = { static struct hda_input_mux alc262_fujitsu_capture_source = {
.num_items = 3, .num_items = 3,
.items = { .items = {
...@@ -11728,7 +11735,8 @@ static struct alc_config_preset alc262_presets[] = { ...@@ -11728,7 +11735,8 @@ static struct alc_config_preset alc262_presets[] = {
[ALC262_LENOVO_3000] = { [ALC262_LENOVO_3000] = {
.mixers = { alc262_lenovo_3000_mixer }, .mixers = { alc262_lenovo_3000_mixer },
.init_verbs = { alc262_init_verbs, alc262_EAPD_verbs, .init_verbs = { alc262_init_verbs, alc262_EAPD_verbs,
alc262_lenovo_3000_unsol_verbs }, alc262_lenovo_3000_unsol_verbs,
alc262_lenovo_3000_init_verbs },
.num_dacs = ARRAY_SIZE(alc262_dac_nids), .num_dacs = ARRAY_SIZE(alc262_dac_nids),
.dac_nids = alc262_dac_nids, .dac_nids = alc262_dac_nids,
.hp_nid = 0x03, .hp_nid = 0x03,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment