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: Biao Huang <biao.huang@mediatek.com> Signed-off-by: Yinghua Pan <ot_yinghua.pan@mediatek.com> Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
c16cc6a066
commit
9ccbfdefe7
@ -958,7 +958,7 @@ static int mtk_star_enable(struct net_device *ndev)
|
||||
|
||||
/* Request the interrupt */
|
||||
ret = request_irq(ndev->irq, mtk_star_handle_irq,
|
||||
IRQF_TRIGGER_FALLING, ndev->name, ndev);
|
||||
IRQF_TRIGGER_NONE, ndev->name, ndev);
|
||||
if (ret)
|
||||
goto err_free_skbs;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user