mfd: intel-lpss: Switch over to MSI interrupts
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Tue, 12 Mar 2024 16:59:05 +0000 (18:59 +0200)
committerLee Jones <lee@kernel.org>
Fri, 10 May 2024 14:39:15 +0000 (15:39 +0100)
Some devices support MSI interrupts. Let's at least try to use them in
platforms that provide MSI capability.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20240312165905.1764507-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel-lpss-pci.c

index 8c00e0c695c5b9b57e29af68860e2fae2aa3f425..c36a101df7becbd9ecf73d6de8cee9cdd3f06441 100644 (file)
@@ -54,7 +54,7 @@ static int intel_lpss_pci_probe(struct pci_dev *pdev,
        if (ret)
                return ret;
 
-       ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_LEGACY);
+       ret = pci_alloc_irq_vectors(pdev, 1, 1, PCI_IRQ_ALL_TYPES);
        if (ret < 0)
                return ret;