Commit 474167d6 authored by Takashi Iwai's avatar Takashi Iwai Committed by Jaroslav Kysela

[ALSA] hda-codec - Fix init verbs for ALC260 hp model

Use the basic init verbs for ALC260 instead of hp init verbs
since hp init verbs seem incomplete and not working on some machines.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 6581f4e7
...@@ -3106,6 +3106,7 @@ static struct hda_verb alc260_init_verbs[] = { ...@@ -3106,6 +3106,7 @@ static struct hda_verb alc260_init_verbs[] = {
{ } { }
}; };
#if 0 /* should be identical with alc260_init_verbs? */
static struct hda_verb alc260_hp_init_verbs[] = { static struct hda_verb alc260_hp_init_verbs[] = {
/* Headphone and output */ /* Headphone and output */
{0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0}, {0x10, AC_VERB_SET_PIN_WIDGET_CONTROL, 0xc0},
...@@ -3152,6 +3153,7 @@ static struct hda_verb alc260_hp_init_verbs[] = { ...@@ -3152,6 +3153,7 @@ static struct hda_verb alc260_hp_init_verbs[] = {
{0x0a, AC_VERB_SET_AMP_GAIN_MUTE, (0x7000 | (0x01 << 8))}, {0x0a, AC_VERB_SET_AMP_GAIN_MUTE, (0x7000 | (0x01 << 8))},
{ } { }
}; };
#endif
static struct hda_verb alc260_hp_3013_init_verbs[] = { static struct hda_verb alc260_hp_3013_init_verbs[] = {
/* Line out and output */ /* Line out and output */
...@@ -3867,7 +3869,7 @@ static struct alc_config_preset alc260_presets[] = { ...@@ -3867,7 +3869,7 @@ static struct alc_config_preset alc260_presets[] = {
.mixers = { alc260_base_output_mixer, .mixers = { alc260_base_output_mixer,
alc260_input_mixer, alc260_input_mixer,
alc260_capture_alt_mixer }, alc260_capture_alt_mixer },
.init_verbs = { alc260_hp_init_verbs }, .init_verbs = { alc260_init_verbs },
.num_dacs = ARRAY_SIZE(alc260_dac_nids), .num_dacs = ARRAY_SIZE(alc260_dac_nids),
.dac_nids = alc260_dac_nids, .dac_nids = alc260_dac_nids,
.num_adc_nids = ARRAY_SIZE(alc260_hp_adc_nids), .num_adc_nids = ARRAY_SIZE(alc260_hp_adc_nids),
......
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