Skip to contentSkip to conversation

hda: Added stac378x digital slave out struct

PATCH In review Matthew Ranostay 2 participants 2 messages Feb 4, 2009 – Feb 5, 2009 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 hda: Added stac378x digital slave out struct

Added the ADATOut nid to a slave digital outs struct to allow output via the DigOut pin.

---
 sound/pci/hda/patch_sigmatel.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
sound/pci/hda/patch_sigmatel.c +5 -0
index a7df81e..58a10ed 100644
@@ -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
 };
@@ -5218,6 +5222,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,
Signature · 1 line
1.5.6.3
#1 lore raw

At Wed, 04 Feb 2009 17:49:41 -0500,

Quoted 5 lines · Matthew Ranostay

Added the ADATOut nid to a slave digital outs struct to allow output via the DigOut pin.

Applied now. Thanks.

Takashi

Quoted 31 lines
---
 sound/pci/hda/patch_sigmatel.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
sound/pci/hda/patch_sigmatel.c +5 -0
index a7df81e..58a10ed 100644
@@ -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
 };
@@ -5218,6 +5222,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,
Signature · 1 line
1.5.6.3