From: Krzysztof Helt Date: Mon, 7 Jan 2008 11:24:45 +0000 (+0100) Subject: [ALSA] es18xx: Enable wavetable input from ESS chips X-Git-Tag: v2.6.25-rc1~1127^2~161 X-Git-Url: https://openfabrics.org/gitweb/?a=commitdiff_plain;h=1bc9eed379399484d3f5d5a0834674983969bc1e;p=~shefty%2Frdma-dev.git [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 Signed-off-by: Takashi Iwai Signed-off-by: Jaroslav Kysela --- diff --git a/sound/isa/es18xx.c b/sound/isa/es18xx.c index ece504170aa..91cb478103d 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;