summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThangaraj Samynathan <thangaraj.s@microchip.com>2025-06-12 08:00:59 +0530
committerMark Brown <broonie@kernel.org>2025-06-13 12:25:31 +0100
commit9f0ad43b158d07bc7144d219ceabdea36e28e392 (patch)
treeb175282a88f19e445c959285fee67e7b7b1b5c4f
parent83f066fac3c231e58e9adf3b307e96fee172dfb3 (diff)
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>
-rw-r--r--drivers/spi/spi-pci1xxxx.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/spi/spi-pci1xxxx.c b/drivers/spi/spi-pci1xxxx.c
index 9112d8a1a0c8..e27642c4dea4 100644
--- a/drivers/spi/spi-pci1xxxx.c
+++ b/drivers/spi/spi-pci1xxxx.c
@@ -762,7 +762,7 @@ static int pci1xxxx_spi_probe(struct pci_dev *pdev, const struct pci_device_id *
return -EINVAL;
num_vector = pci_alloc_irq_vectors(pdev, 1, hw_inst_cnt,
- PCI_IRQ_ALL_TYPES);
+ PCI_IRQ_INTX | PCI_IRQ_MSI);
if (num_vector < 0) {
dev_err(&pdev->dev, "Error allocating MSI vectors\n");
return num_vector;