Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

spi: spi-pci1xxxx: Drop MSI-X usage as unsupported by DMA engine

Removes MSI-X from the interrupt request path, as the DMA engine used by
the SPI controller does not support MSI-X interrupts.

Signed-off-by: Thangaraj Samynathan <thangaraj.s@microchip.com>
Link: https://patch.msgid.link/20250612023059.71726-1-thangaraj.s@microchip.com
Signed-off-by: Mark Brown <broonie@kernel.org>

authored by

Thangaraj Samynathan and committed by
Mark Brown
9f0ad43b 83f066fa

+1 -1
+1 -1
drivers/spi/spi-pci1xxxx.c
··· 762 762 return -EINVAL; 763 763 764 764 num_vector = pci_alloc_irq_vectors(pdev, 1, hw_inst_cnt, 765 - PCI_IRQ_ALL_TYPES); 765 + PCI_IRQ_INTX | PCI_IRQ_MSI); 766 766 if (num_vector < 0) { 767 767 dev_err(&pdev->dev, "Error allocating MSI vectors\n"); 768 768 return num_vector;