openwrtv4/package/kernel/qca-nss-gmac/patches/001-nss-gmac-remove-IRQ-flag-IRQF_DISABLED.patch

16 lines
602 B
Diff
Raw Normal View History

diff --git a/ipq806x/nss_gmac_tx_rx_offload.c b/ipq806x/nss_gmac_tx_rx_offload.c
index bc684a5..383403b 100644
--- a/ipq806x/nss_gmac_tx_rx_offload.c
+++ b/ipq806x/nss_gmac_tx_rx_offload.c
@@ -896,8 +896,8 @@ int nss_gmac_open(struct net_device *netdev)
nss_gmac_rx_refill(gmacdev);
/* Register IRQ */
- err = request_irq(netdev->irq, nss_gmac_handle_irq,
- IRQF_DISABLED, "nss-gmac", gmacdev);
+ err = request_irq(netdev->irq, nss_gmac_handle_irq, 0,
+ "nss-gmac", gmacdev);
if (err) {
netdev_dbg(netdev, "Mac %d IRQ %d request failed\n",
gmacdev->macid, netdev->irq);