IDT codecs have analog-loopback mixer widgets, but we haven't cared
about it, so far. Let's set them. This will avoid also possible
wrong routes for the input paths.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
spec = codec->spec;
spec->linear_tone_beep = 0;
spec = codec->spec;
spec->linear_tone_beep = 0;
+ spec->gen.mixer_nid = 0x1d;
num_dacs = snd_hda_get_num_conns(codec, 0x0a) - 1;
if (num_dacs < 3 || num_dacs > 5) {
num_dacs = snd_hda_get_num_conns(codec, 0x0a) - 1;
if (num_dacs < 3 || num_dacs > 5) {
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
+ spec->gen.mixer_nid = 0x1b;
spec->digbeep_nid = 0x21;
spec->pwr_nids = stac92hd83xxx_pwr_nids;
spec->digbeep_nid = 0x21;
spec->pwr_nids = stac92hd83xxx_pwr_nids;
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
spec = codec->spec;
spec->linear_tone_beep = 0;
spec->gen.own_eapd_ctl = 1;
+ spec->gen.mixer_nid = 0x17;
codec->patch_ops = stac_patch_ops;
codec->patch_ops = stac_patch_ops;