aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--sound/pci/hda/patch_realtek.c7
1 files changed, 7 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c
index 49f39699ea1b..3cd21040555a 100644
--- a/sound/pci/hda/patch_realtek.c
+++ b/sound/pci/hda/patch_realtek.c
@@ -18845,6 +18845,13 @@ static int alc662_auto_fill_dac_nids(struct hda_codec *codec)
18845 sizeof(hda_nid_t) * (cfg->line_outs - i - 1)); 18845 sizeof(hda_nid_t) * (cfg->line_outs - i - 1));
18846 } 18846 }
18847 18847
18848 if (cfg->hp_outs && !spec->multiout.hp_nid)
18849 spec->multiout.hp_nid =
18850 alc_auto_look_for_dac(codec, cfg->hp_pins[0]);
18851 if (cfg->speaker_outs && !spec->multiout.extra_out_nid[0])
18852 spec->multiout.extra_out_nid[0] =
18853 alc_auto_look_for_dac(codec, cfg->speaker_pins[0]);
18854
18848 return 0; 18855 return 0;
18849} 18856}
18850 18857