Skip to content

Commit 29904a4

Browse files
Vivek PernamittaMani-Sadhasivam
authored andcommitted
bus: mhi: host: pci_generic: Enable MSI-X if the endpoint supports
Enable MSI-X if the endpoint supports. Signed-off-by: Vivek Pernamitta <[email protected]> Reviewed-by: Manivannan Sadhasivam <[email protected]> Link: https://lore.kernel.org/r/[email protected] [mani: added pci_generic prefix to subject] Signed-off-by: Manivannan Sadhasivam <[email protected]>
1 parent 9241459 commit 29904a4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/bus/mhi/host/pci_generic.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@ static int mhi_pci_get_irqs(struct mhi_controller *mhi_cntrl,
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);

0 commit comments

Comments
 (0)