ALSA: hda: Added stac378x digital slave out struct

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, March 26, 2009 - 12:13 pm

Gitweb:     http://git.kernel.org/linus/45c1d85bcc6438454d104966c30fd2497ae1cdd7
Commit:     45c1d85bcc6438454d104966c30fd2497ae1cdd7
Parent:     29d4ab4d6e996ef4c71910c915611151c34f1c75
Author:     Matthew Ranostay <mranostay@embeddedalley.com>
AuthorDate: Wed Feb 4 17:49:41 2009 -0500
Committer:  Takashi Iwai <tiwai@suse.de>
CommitDate: Thu Feb 5 08:01:01 2009 +0100

    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>
---
 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 0b00110..85dc642 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,
--
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
ALSA: hda: Added stac378x digital slave out struct, Linux Kernel Mailing ..., (Thu Mar 26, 12:13 pm)