Commit 6b40a479 authored by Jaroslav Kysela's avatar Jaroslav Kysela

[ALSA] Enables SPDIF output on the Audigy2 Value

EMU10K1/EMU10K2 driver
Enables SPDIF output on the Audigy2 Value.
It seems to work for PCM, but not AC3 yet.
Signed-off-by: default avatarJames Courtier-Dutton <James@superbug.co.uk>
Signed-off-by: default avatarTakashi Iwai <tiwai@suse.de>
parent fcaa5698
......@@ -205,6 +205,15 @@ static int __devinit snd_emu10k1_init(emu10k1_t * emu, int enable_ir)
/* Setup SRCMulti Input Audio Enable */
outl(0x7b0000, emu->port + 0x20);
outl(0xFF000000, emu->port + 0x24);
/* Setup SPDIF Out Audio Enable */
/* The Audigy 2 Value has a separate SPDIF out,
* so no need for a mixer switch
*/
outl(0x7a0000, emu->port + 0x20);
outl(0xFF000000, emu->port + 0x24);
tmp = inl(emu->port + A_IOCFG) & ~0x8; /* Clear bit 3 */
outl(tmp, 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