diff options
author | Matthew Ranostay <mranostay@embeddedalley.com> | 2009-02-04 17:49:41 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-02-05 02:01:01 -0500 |
commit | 45c1d85bcc6438454d104966c30fd2497ae1cdd7 (patch) | |
tree | 43342ffe5c92209739a73b11f786ae1ec9d6ea5a /sound/pci/hda/patch_sigmatel.c | |
parent | 29d4ab4d6e996ef4c71910c915611151c34f1c75 (diff) |
ALSA: hda: Added stac378x digital slave out struct
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>
Diffstat (limited to 'sound/pci/hda/patch_sigmatel.c')
-rw-r--r-- | sound/pci/hda/patch_sigmatel.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_sigmatel.c b/sound/pci/hda/patch_sigmatel.c index 0b00110a5a02..85dc642d1130 100644 --- a/sound/pci/hda/patch_sigmatel.c +++ b/sound/pci/hda/patch_sigmatel.c | |||
@@ -404,6 +404,10 @@ static hda_nid_t stac922x_mux_nids[2] = { | |||
404 | 0x12, 0x13, | 404 | 0x12, 0x13, |
405 | }; | 405 | }; |
406 | 406 | ||
407 | static hda_nid_t stac927x_slave_dig_outs[2] = { | ||
408 | 0x1f, 0, | ||
409 | }; | ||
410 | |||
407 | static hda_nid_t stac927x_adc_nids[3] = { | 411 | static hda_nid_t stac927x_adc_nids[3] = { |
408 | 0x07, 0x08, 0x09 | 412 | 0x07, 0x08, 0x09 |
409 | }; | 413 | }; |
@@ -5320,6 +5324,7 @@ static int patch_stac927x(struct hda_codec *codec) | |||
5320 | return -ENOMEM; | 5324 | return -ENOMEM; |
5321 | 5325 | ||
5322 | codec->spec = spec; | 5326 | codec->spec = spec; |
5327 | codec->slave_dig_outs = stac927x_slave_dig_outs; | ||
5323 | spec->num_pins = ARRAY_SIZE(stac927x_pin_nids); | 5328 | spec->num_pins = ARRAY_SIZE(stac927x_pin_nids); |
5324 | spec->pin_nids = stac927x_pin_nids; | 5329 | spec->pin_nids = stac927x_pin_nids; |
5325 | spec->board_config = snd_hda_check_board_config(codec, STAC_927X_MODELS, | 5330 | spec->board_config = snd_hda_check_board_config(codec, STAC_927X_MODELS, |