projects
/
GitHub
/
mt8127
/
android_kernel_alcatel_ttab.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96c7d47
)
ALSA: Enable SPDIF output on ALC655
author
Takashi Iwai
<tiwai@suse.de>
Tue, 12 Aug 2008 11:39:01 +0000
(13:39 +0200)
committer
Takashi Iwai
<tiwai@suse.de>
Mon, 20 Oct 2008 13:31:30 +0000
(15:31 +0200)
Some hardwares with ALC655 codec don't indicate the proper ext id bit
for SPDIF output although it supports. Force to enable the bit.
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/ac97/ac97_patch.c
patch
|
blob
|
blame
|
history
diff --git
a/sound/pci/ac97/ac97_patch.c
b/sound/pci/ac97/ac97_patch.c
index 6e831aff1bd0e50ae3f38bc6484c0688b6084632..2c7cd97d223460b18023daf2b37513a89ea00f17 100644
(file)
--- a/
sound/pci/ac97/ac97_patch.c
+++ b/
sound/pci/ac97/ac97_patch.c
@@
-2832,6
+2832,8
@@
static int patch_alc655(struct snd_ac97 * ac97)
val &= ~(1 << 1); /* Pin 47 is EAPD (for internal speaker) */
else
val |= (1 << 1); /* Pin 47 is spdif input pin */
+ /* this seems missing on some hardwares */
+ ac97->ext_id |= AC97_EI_SPDIF;
}
val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val);