Skip to content

Commit

Permalink
wifi: rtw89: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
Browse files Browse the repository at this point in the history
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro.

Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Damien Le Moal <[email protected]>
[bhelgaas: split to separate patch]
Signed-off-by: Bjorn Helgaas <[email protected]>
  • Loading branch information
damien-lemoal authored and bjorn-helgaas committed May 16, 2024
1 parent c3d26b9 commit 4422615
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/net/wireless/realtek/rtw89/pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -3547,7 +3547,7 @@ static int rtw89_pci_request_irq(struct rtw89_dev *rtwdev,
unsigned long flags = 0;
int ret;

flags |= PCI_IRQ_LEGACY | PCI_IRQ_MSI;
flags |= PCI_IRQ_INTX | PCI_IRQ_MSI;
ret = pci_alloc_irq_vectors(pdev, 1, 1, flags);
if (ret < 0) {
rtw89_err(rtwdev, "failed to alloc irq vectors, ret %d\n", ret);
Expand Down

0 comments on commit 4422615

Please sign in to comment.