[alsa-devel] [PATCH] Add missing additional verbs for SPDIF with AD1984 & thinkpad

Jerone Young jerone at gmail.com
Sat Jan 26 03:04:40 CET 2008


Additional verbs are missing for IEC958 code for the AD1984 in
thinkpads. This is identical to the verbs in AD19884. I missed these
in my patch last month.

Signed-off-by: Jerone Young <jerone at gmail.com>

diff -r dcc1b9d533d3 alsa-kernel/pci/hda/patch_analog.c
--- a/alsa-kernel/pci/hda/patch_analog.c	Fri Jan 25 19:49:19 2008 -0600
+++ b/alsa-kernel/pci/hda/patch_analog.c	Fri Jan 25 19:51:05 2008 -0600
@@ -3188,6 +3188,9 @@ static struct hda_verb ad1984_thinkpad_i
 	{0x20, AC_VERB_SET_AMP_GAIN_MUTE, AMP_IN_MUTE(4)},
 	/* enable EAPD bit */
 	{0x12, AC_VERB_SET_EAPD_BTLENABLE, 0x02},
+	/* SPDIF output selector */
+	{0x02, AC_VERB_SET_CONNECT_SEL, 0x0}, /* PCM */
+	{0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */
 };

 /* Digial MIC ADC NID 0x05 + 0x06 */


More information about the Alsa-devel mailing list