History

bus: mhi: host: pci_generic: Enable MSI-X if the endpoint supports

Enable MSI-X if the endpoint supports.

Vivek Pernamitta committed 1 year ago

Commit 29904a41 parent 92414591 file · +1 −1Browse files

Unified · Split

drivers/bus/mhi/host/pci_generic.c+1−1
@@ -1004,7 +1004,7 @@ static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl, · 1003 unmodified lines
10041004 */
10051005 mhi_cntrl->nr_irqs = 1 + mhi_cntrl_config->num_events;
10061006
1007− nr_vectors = pci_alloc_irq_vectors(pdev, 1, mhi_cntrl->nr_irqs, PCI_IRQ_MSI);
1007+ nr_vectors = pci_alloc_irq_vectors(pdev, 1, mhi_cntrl->nr_irqs, PCI_IRQ_MSIX | PCI_IRQ_MSI);
10081008 if (nr_vectors < 0) {
10091009 dev_err(&pdev->dev, "Error allocating MSI vectors %d\n",
10101010 nr_vectors);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t