Skip to content

Commit 71cf28c

Browse files
Philipp Stannerbjorn-helgaas
authored andcommitted
wifi: qtnfmac: use always-managed version of pcim_intx()
pci_intx() is a hybrid function which can sometimes be managed through devres. To remove this hybrid nature from pci_intx(), it is necessary to port users to either an always-managed or a never-managed version. qtnfmac enables its PCI device with pcim_enable_device(). Thus, it needs the always-managed version. Replace pci_intx() with pcim_intx(). Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Philipp Stanner <[email protected]> Signed-off-by: Bjorn Helgaas <[email protected]> Acked-by: Kalle Valo <[email protected]>
1 parent eeda4c8 commit 71cf28c

File tree

1 file changed

+1
-1
lines changed
  • drivers/net/wireless/quantenna/qtnfmac/pcie

1 file changed

+1
-1
lines changed

drivers/net/wireless/quantenna/qtnfmac/pcie/pcie.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ static void qtnf_pcie_init_irq(struct qtnf_pcie_bus_priv *priv, bool use_msi)
204204

205205
if (!priv->msi_enabled) {
206206
pr_warn("legacy PCIE interrupts enabled\n");
207-
pci_intx(pdev, 1);
207+
pcim_intx(pdev, 1);
208208
}
209209
}
210210

0 commit comments

Comments
 (0)