From: Biao Huang Date: Wed, 29 Jun 2022 03:17:35 +0000 (+0800) Subject: net: ethernet: mtk-star-emac: modify IRQ trigger flags X-Git-Tag: v6.6.17~6916^2~261^2~8 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9ccbfdefe716ede5ece0a7331df7903d3879dbb7;p=platform%2Fkernel%2Flinux-rpi.git 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 Signed-off-by: Yinghua Pan Reviewed-by: Bartosz Golaszewski Signed-off-by: David S. Miller --- diff --git a/drivers/net/ethernet/mediatek/mtk_star_emac.c b/drivers/net/ethernet/mediatek/mtk_star_emac.c index 9c54043..f161a55 100644 --- a/drivers/net/ethernet/mediatek/mtk_star_emac.c +++ b/drivers/net/ethernet/mediatek/mtk_star_emac.c @@ -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;