]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
ALSA: hda - Disable MSI for Nvidia controller
authorTakashi Iwai <tiwai@suse.de>
Mon, 15 Mar 2010 14:51:53 +0000 (15:51 +0100)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 1 Apr 2010 23:01:24 +0000 (16:01 -0700)
commit 80c43ed724797627d8f86855248c497a6161a214 upstream.

Judging from the member of enable_msi white-list, Nvidia controller
seems to cause troubles with MSI enabled, e.g. boot hang up or other
serious issue may come up.  It's safer to disable MSI as default for
Nvidia controllers again for now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
sound/pci/hda/hda_intel.c

index 16df726ba7a5fece87debf05842479193c3b489b..9b059d9d4ab5d4ecb9d927015ca40f98cf70ca69 100644 (file)
@@ -2374,6 +2374,13 @@ static void __devinit check_msi(struct azx *chip)
                       "hda_intel: msi for device %04x:%04x set to %d\n",
                       q->subvendor, q->subdevice, q->value);
                chip->msi = q->value;
+               return;
+       }
+
+       /* NVidia chipsets seem to cause troubles with MSI */
+       if (chip->driver_type == AZX_DRIVER_NVIDIA) {
+               printk(KERN_INFO "hda_intel: Disable MSI for Nvidia chipset\n");
+               chip->msi = 0;
        }
 }