aboutsummaryrefslogtreecommitdiffstats
path: root/sound
diff options
context:
space:
mode:
authorKrzysztof Helt <krzysztof.h1@wp.pl>2007-10-16 08:54:37 -0400
committerJaroslav Kysela <perex@perex.cz>2007-10-16 10:51:28 -0400
commitf81b953d43c2c12f617da3ecec25e04b5c9e6eb2 (patch)
treed2212e9fc43bad69cb405563b3deb11bb08ddbdb /sound
parentca2df45a072cef11143f9be8d36c3c256cbebd7b (diff)
[ALSA] This patch adds support for a wavetable chip on
the BTC 1817DW board. The QS1000 is connected through the digital input to the Opti931 chip. 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>
Diffstat (limited to 'sound')
-rw-r--r--sound/isa/opti9xx/opti92x-ad1848.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/sound/isa/opti9xx/opti92x-ad1848.c b/sound/isa/opti9xx/opti92x-ad1848.c
index fb1d0704f2f9..ee1a824d8fc0 100644
--- a/sound/isa/opti9xx/opti92x-ad1848.c
+++ b/sound/isa/opti9xx/opti92x-ad1848.c
@@ -501,6 +501,16 @@ static int __devinit snd_opti9xx_configure(struct snd_opti9xx *chip)
501 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04), 501 (chip->hardware == OPTi9XX_HW_82C930 ? 0x00 : 0x04),
502 0x34); 502 0x34);
503 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x20, 0xbf); 503 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(5), 0x20, 0xbf);
504 /*
505 * The BTC 1817DW has QS1000 wavetable which is connected
506 * to the serial digital input of the OPTI931.
507 */
508 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(21), 0x82, 0xff);
509 /*
510 * This bit sets OPTI931 to automaticaly select FM
511 * or digital input signal.
512 */
513 snd_opti9xx_write_mask(chip, OPTi9XX_MC_REG(26), 0x01, 0x01);
504 break; 514 break;
505#endif /* OPTi93X */ 515#endif /* OPTi93X */
506 516