Commit 9ccbfdef authored by Biao Huang's avatar Biao Huang Committed by David S. Miller

net: ethernet: mtk-star-emac: modify IRQ trigger flags

If the flags in request_irq() is IRQF_TRIGGER_NONE, the trigger method
is determined by "interrupt" property in dts.
So, modify the flag from IRQF_TRIGGER_FALLING to IRQF_TRIGGER_NONE.
Signed-off-by: default avatarBiao Huang <biao.huang@mediatek.com>
Signed-off-by: default avatarYinghua Pan <ot_yinghua.pan@mediatek.com>
Reviewed-by: default avatarBartosz Golaszewski <brgl@bgdev.pl>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent c16cc6a0
...@@ -958,7 +958,7 @@ static int mtk_star_enable(struct net_device *ndev) ...@@ -958,7 +958,7 @@ static int mtk_star_enable(struct net_device *ndev)
/* Request the interrupt */ /* Request the interrupt */
ret = request_irq(ndev->irq, mtk_star_handle_irq, ret = request_irq(ndev->irq, mtk_star_handle_irq,
IRQF_TRIGGER_FALLING, ndev->name, ndev); IRQF_TRIGGER_NONE, ndev->name, ndev);
if (ret) if (ret)
goto err_free_skbs; goto err_free_skbs;
......
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