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
1004 */1004 */
1005 mhi_cntrl->nr_irqs = 1 + mhi_cntrl_config->num_events;1005 mhi_cntrl->nr_irqs = 1 + mhi_cntrl_config->num_events;
1006 1006
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);
1008 if (nr_vectors < 0) {1008 if (nr_vectors < 0) {
1009 dev_err(&pdev->dev, "Error allocating MSI vectors %d\n",1009 dev_err(&pdev->dev, "Error allocating MSI vectors %d\n",
1010 nr_vectors);1010 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