]> git.baikalelectronics.ru Git - kernel.git/commit
net: ethernet: mtk-star-emac: modify IRQ trigger flags
authorBiao Huang <biao.huang@mediatek.com>
Wed, 29 Jun 2022 03:17:35 +0000 (11:17 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 29 Jun 2022 12:45:30 +0000 (13:45 +0100)
commitaad9f4765ead57e51535bce26dba58ea2ea2e5bd
tree2a252128d7d01eefd51fd80e12220c4656df980b
parentde869f08b8a25d96829f76283a02f4ae9d031440
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>
drivers/net/ethernet/mediatek/mtk_star_emac.c