[ALSA] es18xx: Enable wavetable input from ESS chips

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Linux Kernel Mailing List
Date: Thursday, January 31, 2008 - 5:02 pm

Gitweb:     http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=1bc9ee...
Commit:     1bc9eed379399484d3f5d5a0834674983969bc1e
Parent:     ebf00c54a6e1be0ae25d41236a063747c74ed5bf
Author:     Krzysztof Helt <krzysztof.h1@wp.pl>
AuthorDate: Mon Jan 7 12:24:45 2008 +0100
Committer:  Jaroslav Kysela <perex@perex.cz>
CommitDate: Thu Jan 31 17:29:45 2008 +0100

    [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>
---
 sound/isa/es18xx.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c
index ece5041..91cb478 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)
 		snd_es18xx_write(chip, 0xB2, 0x50);
 		/* Enable MPU and hardware volume interrupt */
 		snd_es18xx_mixer_write(chip, 0x64, 0x42);
+		/* Enable ESS wavetable input */
+		snd_es18xx_mixer_bits(chip, 0x48, 0x10, 0x10);
 	}
 	else {
 		int irqmask, dma1mask, dma2mask;
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[ALSA] es18xx: Enable wavetable input from ESS chips, Linux Kernel Mailing ..., (Thu Jan 31, 5:02 pm)