Skip to content

Commit 9f0ad43

Browse files
Thangaraj Samynathanbroonie
authored andcommitted
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 <[email protected]> Link: https://patch.msgid.link/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 83f066f commit 9f0ad43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/spi/spi-pci1xxxx.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -762,7 +762,7 @@ static int pci1xxxx_spi_probe(struct pci_dev *pdev, const struct pci_device_id *
762762
return -EINVAL;
763763

764764
num_vector = pci_alloc_irq_vectors(pdev, 1, hw_inst_cnt,
765-
PCI_IRQ_ALL_TYPES);
765+
PCI_IRQ_INTX | PCI_IRQ_MSI);
766766
if (num_vector < 0) {
767767
dev_err(&pdev->dev, "Error allocating MSI vectors\n");
768768
return num_vector;

0 commit comments

Comments
 (0)