Revert "net: enetc: Use IRQF_NO_AUTOEN flag in request_irq()"

This reverts commit e356dcea7c.
This commit is contained in:
Ksawlii 2024-11-24 00:23:29 +01:00
parent cb6b405833
commit 1107016b02

View file

@ -1333,11 +1333,12 @@ static int enetc_setup_irqs(struct enetc_ndev_priv *priv)
snprintf(v->name, sizeof(v->name), "%s-rxtx%d",
priv->ndev->name, i);
err = request_irq(irq, enetc_msix, IRQF_NO_AUTOEN, v->name, v);
err = request_irq(irq, enetc_msix, 0, v->name, v);
if (err) {
dev_err(priv->dev, "request_irq() failed!\n");
goto irq_err;
}
disable_irq(irq);
v->tbier_base = hw->reg + ENETC_BDR(TX, 0, ENETC_TBIER);
v->rbier = hw->reg + ENETC_BDR(RX, i, ENETC_RBIER);