Commit 164a7ada authored by Takashi Iwai's avatar Takashi Iwai

ALSA: hda/conexant - Set mixer NID 0x19 for CX20551 codec

Conexant CX20551 codec has a mixer in NID 0x19 and a few outputs have
to take the input through this widget.
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent cf799aa3
...@@ -3197,6 +3197,9 @@ static const struct hda_codec_ops cx_auto_patch_ops = { ...@@ -3197,6 +3197,9 @@ static const struct hda_codec_ops cx_auto_patch_ops = {
.init = snd_hda_gen_init, .init = snd_hda_gen_init,
.free = snd_hda_gen_free, .free = snd_hda_gen_free,
.unsol_event = snd_hda_jack_unsol_event, .unsol_event = snd_hda_jack_unsol_event,
#ifdef CONFIG_PM
.check_power_status = snd_hda_gen_check_power_status,
#endif
}; };
/* /*
...@@ -3348,6 +3351,10 @@ static int patch_conexant_auto(struct hda_codec *codec) ...@@ -3348,6 +3351,10 @@ static int patch_conexant_auto(struct hda_codec *codec)
case 0x14f15045: case 0x14f15045:
codec->single_adc_amp = 1; codec->single_adc_amp = 1;
break; break;
case 0x14f15047:
codec->pin_amp_workaround = 1;
spec->gen.mixer_nid = 0x19;
break;
case 0x14f15051: case 0x14f15051:
add_cx5051_fake_mutes(codec); add_cx5051_fake_mutes(codec);
codec->pin_amp_workaround = 1; codec->pin_amp_workaround = 1;
......
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