diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-09-13 19:55:00 -0400 |
---|---|---|
committer | Jaroslav Kysela <perex@perex.cz> | 2008-09-23 02:18:00 -0400 |
commit | e8bfc6c1d22395ab706784cb1bcd60f6f9569ed6 (patch) | |
tree | 533406e7c0f390c0eaf4ab0028c83e9c19cdf43d /sound | |
parent | 2a9c78160895af2a69ebcb1ac8be54b84815cfcf (diff) |
ALSA: HDA: patch_analog: Fix SPDIF output on AD1989B
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.
Signed-off-by: Robin H. Johnson <robbat2@gentoo.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/hda/patch_analog.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/sound/pci/hda/patch_analog.c b/sound/pci/hda/patch_analog.c index 0899b6b38863..03b9d3df4ebd 100644 --- a/sound/pci/hda/patch_analog.c +++ b/sound/pci/hda/patch_analog.c | |||
@@ -2249,8 +2249,12 @@ static struct hda_verb ad1988_spdif_init_verbs[] = { | |||
2249 | 2249 | ||
2250 | /* AD1989 has no ADC -> SPDIF route */ | 2250 | /* AD1989 has no ADC -> SPDIF route */ |
2251 | static struct hda_verb ad1989_spdif_init_verbs[] = { | 2251 | static struct hda_verb ad1989_spdif_init_verbs[] = { |
2252 | /* SPDIF out pin */ | 2252 | /* SPDIF-1 out pin */ |
2253 | {0x1b, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT }, | ||
2253 | {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */ | 2254 | {0x1b, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */ |
2255 | /* SPDIF-2/HDMI out pin */ | ||
2256 | {0x1d, AC_VERB_SET_PIN_WIDGET_CONTROL, PIN_OUT }, | ||
2257 | {0x1d, AC_VERB_SET_AMP_GAIN_MUTE, AMP_OUT_UNMUTE | 0x27}, /* 0dB */ | ||
2254 | { } | 2258 | { } |
2255 | }; | 2259 | }; |
2256 | 2260 | ||