mirror of
https://github.com/torvalds/linux.git
synced 2026-06-01 19:13:47 +02:00
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>
This commit is contained in:
parent
83f066fac3
commit
9f0ad43b15
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user