mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2025-01-08 14:13:53 +00:00
wifi: rtw89: Use PCI_IRQ_INTX instead of PCI_IRQ_LEGACY
Use the macro PCI_IRQ_INTX instead of the deprecated PCI_IRQ_LEGACY macro. Link: https://lore.kernel.org/r/20240325070944.3600338-21-dlemoal@kernel.org Signed-off-by: Damien Le Moal <dlemoal@kernel.org> [bhelgaas: split to separate patch] Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
This commit is contained in:
parent
c3d26b9b26
commit
44226154ae
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user