Commit 04feccab authored by Jaroslav Kysela's avatar Jaroslav Kysela

ALSA CVS update - Jaroslav Kysela <perex@suse.cz>

EMU10K1/EMU10K2 driver
<pzad@pobox.sk>
Center is initialized to analog to prevent noise at startup (SB Live)
parent 54fe8674
......@@ -239,14 +239,9 @@ static int __devinit snd_emu10k1_init(emu10k1_t * emu, int enable_ir)
}
}
if (!emu->APS) { /* enable analog output */
if (!emu->audigy) {
unsigned int reg = inl(emu->port + HCFG);
outl(reg | HCFG_GPOUT0, emu->port + HCFG);
} else {
unsigned int reg = inl(emu->port + A_IOCFG);
outl(reg | A_IOCFG_GPOUT0, emu->port + A_IOCFG);
}
if (emu->audigy) { /* enable analog output */
unsigned int reg = inl(emu->port + A_IOCFG);
outl(reg | A_IOCFG_GPOUT0, emu->port + A_IOCFG);
}
/*
......
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