mirror of https://gitee.com/openkylin/linux.git
ALSA: hda - Use common paser for digital I/O for ALC260
Avoid open-codes. Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
parent
21268961d3
commit
0e4a73ae58
|
@ -7200,8 +7200,8 @@ static int alc260_parse_auto_config(struct hda_codec *codec)
|
|||
|
||||
spec->multiout.max_channels = 2;
|
||||
|
||||
if (spec->autocfg.dig_outs)
|
||||
spec->multiout.dig_out_nid = ALC260_DIGOUT_NID;
|
||||
alc_auto_parse_digital(codec);
|
||||
|
||||
if (spec->kctls.list)
|
||||
add_mixer(spec, spec->kctls.list);
|
||||
|
||||
|
|
Loading…
Reference in New Issue