summaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorMatthew Ranostay2009-02-04 23:49:41 +0100
committerTakashi Iwai2009-02-05 08:01:01 +0100
commit45c1d85bcc6438454d104966c30fd2497ae1cdd7 (patch)
tree43342ffe5c92209739a73b11f786ae1ec9d6ea5a /sound
parentALSA: hda - Don't call stac92xx_parse_auto_config with wrong dig_in (diff)
downloadkernel-qcow2-linux-45c1d85bcc6438454d104966c30fd2497ae1cdd7.tar.gz
kernel-qcow2-linux-45c1d85bcc6438454d104966c30fd2497ae1cdd7.tar.xz
kernel-qcow2-linux-45c1d85bcc6438454d104966c30fd2497ae1cdd7.zip
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')
-rw-r--r--sound/pci/hda/patch_sigmatel.c5
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] = {
0x12, 0x13,
};
+static hda_nid_t stac927x_slave_dig_outs[2] = {
+ 0x1f, 0,
+};
+
static hda_nid_t stac927x_adc_nids[3] = {
0x07, 0x08, 0x09
};
@@ -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,