Skip to content

Commit

Permalink
ALSA: hda - Use common paser for digital I/O for ALC260
Browse files Browse the repository at this point in the history
Avoid open-codes.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Takashi Iwai committed Jul 7, 2011
1 parent 2126896 commit 0e4a73a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sound/pci/hda/patch_realtek.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);

Expand Down

0 comments on commit 0e4a73a

Please sign in to comment.