diff options
author | Wu Fengguang <fengguang.wu@intel.com> | 2009-04-02 07:44:18 -0400 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2009-04-05 21:56:51 -0400 |
commit | f3cd3f5d341dc5218d0138a67945182e83174af9 (patch) | |
tree | 2754ef9899677985e5f04586effc24b01b3dab16 /sound/pci/hda/patch_realtek.c | |
parent | ff2e7337b5b087620bdea9477f779413a7f096cb (diff) |
ALSA: hda - enable SPDIF output for Intel DX58SO board
ALC889 has two SPDIF outputs: 0x06, 0x10. Board vendors can use either or both.
DX58SO uses 0x10, but the driver assumes 0x06. The safe solution is to add
0x10 as slave output to the existing 0x06.
Reported-by: Jeroen Van Breedam <jeroen.vanbreedam@sgr5.be>
Tested-by: Jeroen Van Breedam <jeroen.vanbreedam@sgr5.be>
Signed-off-by: Wu Fengguang <fengguang.wu@intel.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound/pci/hda/patch_realtek.c')
-rw-r--r-- | sound/pci/hda/patch_realtek.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/sound/pci/hda/patch_realtek.c b/sound/pci/hda/patch_realtek.c index 82097790f6f3..f35e58a2d921 100644 --- a/sound/pci/hda/patch_realtek.c +++ b/sound/pci/hda/patch_realtek.c | |||
@@ -8764,6 +8764,10 @@ static struct snd_pci_quirk alc883_cfg_tbl[] = { | |||
8764 | {} | 8764 | {} |
8765 | }; | 8765 | }; |
8766 | 8766 | ||
8767 | static hda_nid_t alc883_slave_dig_outs[] = { | ||
8768 | ALC1200_DIGOUT_NID, 0, | ||
8769 | }; | ||
8770 | |||
8767 | static hda_nid_t alc1200_slave_dig_outs[] = { | 8771 | static hda_nid_t alc1200_slave_dig_outs[] = { |
8768 | ALC883_DIGOUT_NID, 0, | 8772 | ALC883_DIGOUT_NID, 0, |
8769 | }; | 8773 | }; |
@@ -8809,6 +8813,7 @@ static struct alc_config_preset alc883_presets[] = { | |||
8809 | .dac_nids = alc883_dac_nids, | 8813 | .dac_nids = alc883_dac_nids, |
8810 | .dig_out_nid = ALC883_DIGOUT_NID, | 8814 | .dig_out_nid = ALC883_DIGOUT_NID, |
8811 | .dig_in_nid = ALC883_DIGIN_NID, | 8815 | .dig_in_nid = ALC883_DIGIN_NID, |
8816 | .slave_dig_outs = alc883_slave_dig_outs, | ||
8812 | .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_intel_modes), | 8817 | .num_channel_mode = ARRAY_SIZE(alc883_3ST_6ch_intel_modes), |
8813 | .channel_mode = alc883_3ST_6ch_intel_modes, | 8818 | .channel_mode = alc883_3ST_6ch_intel_modes, |
8814 | .need_dac_fix = 1, | 8819 | .need_dac_fix = 1, |