]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: hda: Added stac378x digital slave out struct
authorMatthew Ranostay <mranostay@embeddedalley.com>
Wed, 4 Feb 2009 22:49:41 +0000 (17:49 -0500)
committerTakashi Iwai <tiwai@suse.de>
Thu, 5 Feb 2009 07:01:01 +0000 (08:01 +0100)
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

index 0b00110a5a020daaf2e4f574efc071af4b06272f..85dc642d1130ce6afc233e03e1c367340e673b9e 100644 (file)
@@ -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,