ALSA: emu10k1 - Fix digital/analog switch on audigy2 ZS
Takashi Iwai [Tue, 24 Feb 2009 14:31:02 +0000 (15:31 +0100)]
Fix the inverted logic of shared spdif switch.

Reference: Novell bnc#478496
https://bugzilla.novell.com/show_bug.cgi?id=478496

Signed-off-by: Takashi Iwai <tiwai@suse.de>

sound/pci/emu10k1/emu10k1_main.c

index 7958006..101a1c1 100644 (file)
@@ -1528,6 +1528,7 @@ static struct snd_emu_chip_details emu_chip_details[] = {
         .ca0151_chip = 1,
         .spk71 = 1,
         .spdif_bug = 1,
+        .invert_shared_spdif = 1,      /* digital/analog switch swapped */
         .ac97_chip = 1} ,
        {.vendor = 0x1102, .device = 0x0004, .subsystem = 0x10021102,
         .driver = "Audigy2", .name = "SB Audigy 2 Platinum [SB0240P]",