From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Biao Huang <biao.huang@mediatek.com>
Cc: David Miller <davem@davemloft.net>,
Rob Herring <robh+dt@kernel.org>,
Fabien Parent <fparent@baylibre.com>,
Jakub Kicinski <kuba@kernel.org>, Felix Fietkau <nbd@nbd.name>,
John Crispin <john@phrozen.org>,
Sean Wang <sean.wang@mediatek.com>,
Mark Lee <Mark-MC.Lee@mediatek.com>,
Matthias Brugger <matthias.bgg@gmail.com>,
netdev <netdev@vger.kernel.org>,
devicetree <devicetree@vger.kernel.org>,
Linux Kernel Mailing List <linux-kernel@vger.kernel.org>,
Linux ARM <linux-arm-kernel@lists.infradead.org>,
"moderated list:ARM/Mediatek SoC..."
<linux-mediatek@lists.infradead.org>,
Yinghua Pan <ot_yinghua.pan@mediatek.com>,
srv_heupstream@mediatek.com,
Macpaul Lin <macpaul.lin@mediatek.com>
Subject: Re: [PATCH net-next v1 2/9] net: ethernet: mtk-star-emac: modify IRQ trigger flags
Date: Tue, 25 Jan 2022 11:22:48 +0100 [thread overview]
Message-ID: <CAMRc=McZTped08HwbM+pr-xtsDyddTLjpsCc_f7ucoDM2DNXaw@mail.gmail.com> (raw)
In-Reply-To: <20220120070226.1492-3-biao.huang@mediatek.com>
On Thu, Jan 20, 2022 at 8:02 AM Biao Huang <biao.huang@mediatek.com> wrote:
>
> 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>
> ---
> drivers/net/ethernet/mediatek/mtk_star_emac.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/net/ethernet/mediatek/mtk_star_emac.c b/drivers/net/ethernet/mediatek/mtk_star_emac.c
> index 26f5020f2e9c..7c2af775d601 100644
> --- a/drivers/net/ethernet/mediatek/mtk_star_emac.c
> +++ b/drivers/net/ethernet/mediatek/mtk_star_emac.c
> @@ -959,7 +959,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;
>
> --
> 2.25.1
>
Reviewed-by: Bartosz Golaszewski <brgl@bgdev.pl>
next prev parent reply other threads:[~2022-01-25 10:27 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-01-20 7:02 [PATCH net-next v1 0/9] add more features support for mtk-star-emac Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 1/9] net: ethernet: mtk-star-emac: store bit_clk_div in compat structure Biao Huang
2022-01-25 9:50 ` Bartosz Golaszewski
2022-01-27 0:47 ` Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 2/9] net: ethernet: mtk-star-emac: modify IRQ trigger flags Biao Huang
2022-01-25 10:22 ` Bartosz Golaszewski [this message]
2022-01-27 1:13 ` Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 3/9] net: ethernet: mtk-star-emac: add support for MT8365 SoC Biao Huang
2022-01-25 10:21 ` Bartosz Golaszewski
2022-01-27 0:51 ` Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 4/9] dt-bindings: net: mtk-star-emac: add support for MT8365 Biao Huang
2022-01-25 10:23 ` Bartosz Golaszewski
2022-01-27 1:13 ` Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 5/9] net: ethernet: mtk-star-emac: add clock pad selection for RMII Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 6/9] net: ethernet: mtk-star-emac: add timing adjustment support Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 7/9] dt-bindings: net: mtk-star-emac: add description for new properties Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 8/9] net: ethernet: mtk-star-emac: add support for MII interface Biao Huang
2022-01-20 7:02 ` [PATCH net-next v1 9/9] net: ethernet: mtk-star-emac: separate tx/rx handling with two NAPIs Biao Huang
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAMRc=McZTped08HwbM+pr-xtsDyddTLjpsCc_f7ucoDM2DNXaw@mail.gmail.com' \
--to=brgl@bgdev.pl \
--cc=Mark-MC.Lee@mediatek.com \
--cc=biao.huang@mediatek.com \
--cc=davem@davemloft.net \
--cc=devicetree@vger.kernel.org \
--cc=fparent@baylibre.com \
--cc=john@phrozen.org \
--cc=kuba@kernel.org \
--cc=linux-arm-kernel@lists.infradead.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mediatek@lists.infradead.org \
--cc=macpaul.lin@mediatek.com \
--cc=matthias.bgg@gmail.com \
--cc=nbd@nbd.name \
--cc=netdev@vger.kernel.org \
--cc=ot_yinghua.pan@mediatek.com \
--cc=robh+dt@kernel.org \
--cc=sean.wang@mediatek.com \
--cc=srv_heupstream@mediatek.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).