Commit f03ecf50 authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda - Fix the previous tagra-8ch patch

- Fix a typo in the patch
- Adapted to follow the recent change for unsol event handling
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent 64a8be74
...@@ -7726,7 +7726,7 @@ static struct hda_channel_mode alc883_3ST_6ch_modes[3] = { ...@@ -7726,7 +7726,7 @@ static struct hda_channel_mode alc883_3ST_6ch_modes[3] = {
* 2ch mode * 2ch mode
*/ */
static struct hda_verb alc883_4ST_ch2_init[] = { static struct hda_verb alc883_4ST_ch2_init[] = {
{ 0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PhIN_OUT }, { 0x17, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
{ 0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE }, { 0x17, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE },
{ 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 }, { 0x18, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_VREF80 },
{ 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE }, { 0x18, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_MUTE },
...@@ -9205,7 +9205,7 @@ static struct alc_config_preset alc883_presets[] = { ...@@ -9205,7 +9205,7 @@ static struct alc_config_preset alc883_presets[] = {
.need_dac_fix = 1, .need_dac_fix = 1,
.input_mux = &alc883_capture_source, .input_mux = &alc883_capture_source,
.unsol_event = alc883_tagra_unsol_event, .unsol_event = alc883_tagra_unsol_event,
.init_hook = alc883_tagra_automute, .init_hook = alc883_tagra_init_hook,
}, },
[ALC883_ACER] = { [ALC883_ACER] = {
.mixers = { alc883_base_mixer }, .mixers = { alc883_base_mixer },
......
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