Skip to content

Commit

Permalink
saa716x: replace pci_enable_msix() with pci_enable_msix_exact()
Browse files Browse the repository at this point in the history
  • Loading branch information
crazycat69 committed Jun 19, 2017
1 parent 109eba9 commit 79e0a1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/pci/saa716x/saa716x_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ static int saa716x_enable_msix(struct saa716x_dev *saa716x)
for (i = 0; i < SAA716x_MSI_MAX_VECTORS; i++)
saa716x->msix_entries[i].entry = i;

ret = pci_enable_msix(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS);
ret = pci_enable_msix_exact(pdev, saa716x->msix_entries, SAA716x_MSI_MAX_VECTORS);
if (ret < 0)
dprintk(SAA716x_ERROR, 1, "MSI-X request failed <%d>", ret);
if (ret > 0)
Expand Down

0 comments on commit 79e0a1c

Please sign in to comment.