Commit 8186f6e3 authored by John Crispin's avatar John Crispin Committed by David S. Miller

net-next: mediatek: fix compile error inside mtk_poll_controller()

commit 80673029 ("net-next: mediatek: add support for IRQ grouping")
failed to properly update the irq handling inside mtk_poll_controller()
causing compile errors if netconsole was enabled. Fix this by updating
the code to use the new separated irq handler function for RX.
Signed-off-by: default avatarJohn Crispin <john@phrozen.org>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent d624e158
...@@ -1297,7 +1297,7 @@ static void mtk_poll_controller(struct net_device *dev) ...@@ -1297,7 +1297,7 @@ static void mtk_poll_controller(struct net_device *dev)
u32 int_mask = MTK_TX_DONE_INT | MTK_RX_DONE_INT; u32 int_mask = MTK_TX_DONE_INT | MTK_RX_DONE_INT;
mtk_irq_disable(eth, int_mask); mtk_irq_disable(eth, int_mask);
mtk_handle_irq(dev->irq[0], dev); mtk_handle_irq_rx(eth->irq[2], dev);
mtk_irq_enable(eth, int_mask); mtk_irq_enable(eth, int_mask);
} }
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment