[ALSA] hda-codec - Fix ALC662 auto mode
Fixed ALC662 auto mode, wrong NIDs were chosen. Signed-off-by: Kailang Yang <kailang@realtek.com.tw> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@suse.cz>
This commit is contained in:
parent
83c34218a8
commit
067b5a844c
|
@ -11013,7 +11013,7 @@ static int alc662_auto_create_multi_out_ctls(struct alc_spec *spec,
|
||||||
for (i = 0; i < cfg->line_outs; i++) {
|
for (i = 0; i < cfg->line_outs; i++) {
|
||||||
if (!spec->multiout.dac_nids[i])
|
if (!spec->multiout.dac_nids[i])
|
||||||
continue;
|
continue;
|
||||||
nid = alc880_idx_to_dac(i);
|
nid = alc880_idx_to_mixer(i);
|
||||||
if (i == 2) {
|
if (i == 2) {
|
||||||
/* Center/LFE */
|
/* Center/LFE */
|
||||||
err = add_control(spec, ALC_CTL_WIDGET_VOL,
|
err = add_control(spec, ALC_CTL_WIDGET_VOL,
|
||||||
|
|
Loading…
Reference in New Issue