aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2008-01-07 06:24:45 -0500
committerJaroslav Kysela <perex@perex.cz>2008-01-31 11:29:45 -0500
commit1bc9eed379399484d3f5d5a0834674983969bc1e (patch)
treecaf6e24aee5f91b2446af2399983ace1532f831f
parentebf00c54a6e1be0ae25d41236a063747c74ed5bf (diff)
[ALSA] es18xx: Enable wavetable input from ESS chips
This patch enables wavetable chips ES689/ES69X connected to ESS ES18xx chips. The wavetable chip uses FM DAC if the clock signal from the wavetable is active. It has no effect if there is no ESS wavetable chip present. Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl> Signed-off-by: Takashi Iwai <tiwai@suse.de> Signed-off-by: Jaroslav Kysela <perex@perex.cz>
-rw-r--r--sound/isa/es18xx.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index ece504170aa9..91cb478103de 100644
--- a/sound/isa/es18xx.c
+++ b/sound/isa/es18xx.c
@@ -1442,6 +1442,8 @@ static int __devinit snd_es18xx_initialize(struct snd_es18xx *chip)
1442 snd_es18xx_write(chip, 0xB2, 0x50); 1442 snd_es18xx_write(chip, 0xB2, 0x50);
1443 /* Enable MPU and hardware volume interrupt */ 1443 /* Enable MPU and hardware volume interrupt */
1444 snd_es18xx_mixer_write(chip, 0x64, 0x42); 1444 snd_es18xx_mixer_write(chip, 0x64, 0x42);
1445 /* Enable ESS wavetable input */
1446 snd_es18xx_mixer_bits(chip, 0x48, 0x10, 0x10);
1445 } 1447 }
1446 else { 1448 else {
1447 int irqmask, dma1mask, dma2mask; 1449 int irqmask, dma1mask, dma2mask;