mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2026-05-10 06:49:29 -04:00
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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user