mirror of
https://github.com/FEX-Emu/linux.git
synced 2024-12-19 07:27:50 +00:00
ALSA: hda - Fix Independent-HP detection on VT2002P/1802/1812 codecs
For VT2002P, VT1802 and VT1812 codecs, to create Independent HP control. Signed-off-by: Lydia Wang <lydiawang@viatech.com.cn> Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
5c9a5615de
commit
a2a870c827
@ -1915,6 +1915,12 @@ static int via_auto_create_hp_ctls(struct hda_codec *codec, hda_nid_t pin)
|
||||
&spec->hp_path)) {
|
||||
spec->hp_dac_nid = spec->hp_path.path[0];
|
||||
spec->hp_indep_shared = true;
|
||||
} else if (spec->multiout.dac_nids[HDA_CLFE] &&
|
||||
parse_output_path(codec, pin,
|
||||
spec->multiout.dac_nids[HDA_CLFE],
|
||||
&spec->hp_path)) {
|
||||
spec->hp_dac_nid = spec->hp_path.path[0];
|
||||
spec->hp_indep_shared = true;
|
||||
}
|
||||
|
||||
if (!parse_output_path(codec, pin, spec->multiout.dac_nids[HDA_FRONT],
|
||||
|
Loading…
Reference in New Issue
Block a user