]> err.no Git - linux-2.6/commitdiff
[ALSA] hda-intel - Disable INTX when MSI is used
authorTakashi Iwai <tiwai@suse.de>
Tue, 21 Nov 2006 11:10:55 +0000 (12:10 +0100)
committerJaroslav Kysela <perex@suse.cz>
Fri, 9 Feb 2007 08:01:41 +0000 (09:01 +0100)
Call pci_intx() to disable/enable INTX when MSI is used/unused.
Nvidia and AMD boards seem to have problems with MSI when INTX
isn't disabled.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
sound/pci/hda/hda_intel.c

index d15c9b845f23d55dd83384be40376e6f4c1eed69..e6a1e37b373a4fb2455b64e58ab55de26f184b30 100644 (file)
@@ -1391,6 +1391,7 @@ static int azx_acquire_irq(struct azx *chip, int do_disconnect)
                return -1;
        }
        chip->irq = chip->pci->irq;
+       pci_intx(chip->pci, !chip->msi);
        return 0;
 }