Skip to content

Commit

Permalink
ALSA: hda: Added stac378x digital slave out struct
Browse files Browse the repository at this point in the history
Added the ADATOut nid to a slave digital outs struct to allow output
via the DigOut pin.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
  • Loading branch information
Matthew Ranostay authored and Takashi Iwai committed Feb 5, 2009
1 parent 29d4ab4 commit 45c1d85
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions sound/pci/hda/patch_sigmatel.c
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,10 @@ static hda_nid_t stac922x_mux_nids[2] = {
0x12, 0x13,
};

static hda_nid_t stac927x_slave_dig_outs[2] = {
0x1f, 0,
};

static hda_nid_t stac927x_adc_nids[3] = {
0x07, 0x08, 0x09
};
Expand Down Expand Up @@ -5320,6 +5324,7 @@ static int patch_stac927x(struct hda_codec *codec)
return -ENOMEM;

codec->spec = spec;
codec->slave_dig_outs = stac927x_slave_dig_outs;
spec->num_pins = ARRAY_SIZE(stac927x_pin_nids);
spec->pin_nids = stac927x_pin_nids;
spec->board_config = snd_hda_check_board_config(codec, STAC_927X_MODELS,
Expand Down

0 comments on commit 45c1d85

Please sign in to comment.