Commit 7363b218 authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Takashi Iwai <tiwai@suse.de>

AC97 Codec Core
added the quirk for Compaq Evo D510C.
parent 66a440ce
...@@ -1130,10 +1130,12 @@ int patch_alc650(ac97_t * ac97) ...@@ -1130,10 +1130,12 @@ int patch_alc650(ac97_t * ac97)
val &= ~0x03; /* disable */ val &= ~0x03; /* disable */
snd_ac97_write_cache(ac97, AC97_ALC650_CLOCK, val); snd_ac97_write_cache(ac97, AC97_ALC650_CLOCK, val);
val = snd_ac97_read(ac97, AC97_ALC650_MULTICH); /* set default: slot 3,4,7,8,6,9
val &= ~0xc000; /* slot: 3,4,7,8,6,9 */ spdif-in monitor off, analog-spdif off, spdif-in off
val &= ~(1 << 10); /* center-on-mic off */ center on mic off, surround on line-in off
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, val); downmix off, duplicate front off
*/
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 0);
/* set GPIO0 for mic bias */ /* set GPIO0 for mic bias */
/* GPIO0 pin output, no interrupt, high */ /* GPIO0 pin output, no interrupt, high */
...@@ -1262,10 +1264,12 @@ int patch_alc655(ac97_t * ac97) ...@@ -1262,10 +1264,12 @@ int patch_alc655(ac97_t * ac97)
val |= (1 << 1); /* spdif input pin */ val |= (1 << 1); /* spdif input pin */
val &= ~(1 << 12); /* vref enable */ val &= ~(1 << 12); /* vref enable */
snd_ac97_write_cache(ac97, 0x7a, val); snd_ac97_write_cache(ac97, 0x7a, val);
val = snd_ac97_read(ac97, AC97_ALC650_MULTICH); /* set default: spdif-in enabled,
val |= (1 << 15); /* enable spdif in */ spdif-in monitor off, spdif-in PCM off
val &= ~(1 << 10); /* disable center on mic */ center on mic off, surround on line-in off
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, val); duplicate front off
*/
snd_ac97_write_cache(ac97, AC97_ALC650_MULTICH, 1<<15);
/* full DAC volume */ /* full DAC volume */
snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808); snd_ac97_write_cache(ac97, AC97_ALC650_SURR_DAC_VOL, 0x0808);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment