Skip to contentSkip to conversation

ALSA: HDA: patch_analog: Fix SPDIF output on AD1989B

PATCH Applied [email protected] 2 participants 2 messages Sep 14, 2008 – Sep 15, 2008 Sound

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 ALSA: HDA: patch_analog: Fix SPDIF output on AD1989B

From: Robin H. Johnson <[email protected]>

The SPDIF pins for AD1989 are not enabled by default. Set OUT bit so that they actually work. Also initialize the HDMI SPDIF at the same time.

sound/pci/hda/patch_analog.c +5 -1
index b037324..42b1a23 100644
@@ -2255,8 +2255,12 @@ static struct hda_verb ad1988_spdif_init_verbs[] = {
 
 /* AD1989 has no ADC -> SPDIF route */
 static struct hda_verb ad1989_spdif_init_verbs[] = {
-	/* SPDIF out pin */
+	/* SPDIF-1 out pin */
+	{0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
 	{0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */
+	/* SPDIF-2/HDMI out pin */
+	{0x1d, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT },
+	{0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */
 	{ }
 };
 
Signature · 1 line
1.6.0.1