]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
ALSA: emu10k1 - Fix digital/analog switch on audigy2 ZS
authorTakashi Iwai <tiwai@suse.de>
Tue, 24 Feb 2009 14:31:02 +0000 (15:31 +0100)
committerTakashi Iwai <tiwai@suse.de>
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 7958006a1d66cf9559a62bbda6fbfd48b0994047..101a1c13a20dd0b4cdd106d89dd5867187b2b2f9 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]",