Use functionality of irq_get_trigger_type()
Subsystems (5)
v2 cover Use functionality of irq_get_trigger_type()
Changes in v2:
- Split the patches into subsystems.
v1: https://lore.kernel.org/netdev/[email protected]/
Vasileios Amoiridis (3):
net: dsa: realtek: rtl8365mb: Make use of irq_get_trigger_type()
net: dsa: realtek: rtl8366rb: Make use of irq_get_trigger_type()
net: smc91x: Make use of irq_get_trigger_type()
drivers/net/dsa/realtek/rtl8365mb.c | 2 +- drivers/net/dsa/realtek/rtl8366rb.c | 2 +- drivers/net/ethernet/smsc/smc91x.c | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-)
base-commit: 7808012003004b5b31e24795af33480d5eed20f1
Signature · 1 line
2.25.1
PATCH v2 1/3 net: dsa: realtek: rtl8365mb: Make use of irq_get_trigger_type()
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple irq_get_trigger_type(irq).
--- drivers/net/dsa/realtek/rtl8365mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/realtek/rtl8365mb.c +1 -1
@@ -1740,7 +1740,7 @@ static int rtl8365mb_irq_setup(struct realtek_priv *priv) }/* Configure chip interrupt signal polarity */ - irq_trig =irqd_get_trigger_type (irq_get_irq_data (irq)); + irq_trig =irq_get_trigger_type (irq);switch (irq_trig) {case IRQF_TRIGGER_RISING :case IRQF_TRIGGER_HIGH :
Signature · 1 line
2.25.1
Re: [PATCH net-next v2 1/3] net: dsa: realtek: rtl8365mb: Make use of irq_get_trigger_type()
Quoted 7 lines · Vasileios Amoiridis
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple
irq_get_trigger_type(irq).Signed-off-by Vasileios Amoiridis <[email protected]>--- drivers/net/dsa/realtek/rtl8365mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Looks like you missed my review here, you can add it :)
Re: [PATCH net-next v2 1/3] net: dsa: realtek: rtl8365mb: Make use of irq_get_trigger_type()
Quoted 4 lines · Alvin Šipraga
Quoted 3 lines · Vasileios Amoiridis
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple
irq_get_trigger_type(irq).
Quoted 8 lines
Quoted 4 lines
Signed-off-by Vasileios Amoiridis <[email protected]>--- drivers/net/dsa/realtek/rtl8365mb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)Looks like you missed my review here, you can add it :)
Reviewed-by Alvin Šipraga <[email protected]>
Hi Alvin,
Sorry for missing that, but thank you for reminding :)
PATCH v2 2/3 net: dsa: realtek: rtl8366rb: Make use of irq_get_trigger_type()
In reply to Vasileios AmoiridisConvert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple irq_get_trigger_type(irq).
--- drivers/net/dsa/realtek/rtl8366rb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/dsa/realtek/rtl8366rb.c +1 -1
@@ -599,7 +599,7 @@ static int rtl8366rb_setup_cascaded_irq(struct realtek_priv *priv) }/* Fetch IRQ edge information from the descriptor */ - irq_trig =irqd_get_trigger_type (irq_get_irq_data (irq)); + irq_trig =irq_get_trigger_type (irq);switch (irq_trig) {case IRQF_TRIGGER_RISING :case IRQF_TRIGGER_HIGH :
Signature · 1 line
2.25.1
PATCH v2 3/3 net: smc91x: Make use of irq_get_trigger_type()
In reply to Vasileios AmoiridisConvert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple irq_get_trigger_type(irq).
--- drivers/net/ethernet/smsc/smc91x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/net/ethernet/smsc/smc91x.c +1 -1
@@ -2355,7 +2355,7 @@ static int smc_drv_probe(struct platform_device *pdev)* the resource supplies a trigger, override the irqflags with * the trigger flags from the resource. */ - irq_resflags =irqd_get_trigger_type (irq_get_irq_data (ndev->irq)); + irq_resflags =irq_get_trigger_type (ndev->irq);if (irq_flags ==-1 || irq_resflags &IRQF_TRIGGER_MASK ) irq_flags = irq_resflags &IRQF_TRIGGER_MASK ;
Signature · 1 line
2.25.1
Re: [PATCH net-next v2 3/3] net: smc91x: Make use of irq_get_trigger_type()
Quoted 7 lines · Vasileios Amoiridis
Convert irqd_get_trigger_type(irq_get_irq_data(irq)) cases to the more simple
irq_get_trigger_type(irq).Signed-off-by Vasileios Amoiridis <[email protected]>--- drivers/net/ethernet/smsc/smc91x.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
Quoted 17 lines
drivers/net/ethernet/smsc/smc91x.c +1
-1@@ -2355,7 +2355,7 @@ static int smc_drv_probe(struct platform_device *pdev)* the resource supplies a trigger, override the irqflags with * the trigger flags from the resource. */ - irq_resflags =irqd_get_trigger_type (irq_get_irq_data (ndev->irq)); + irq_resflags =irq_get_trigger_type (ndev->irq);if (irq_flags ==-1 || irq_resflags &IRQF_TRIGGER_MASK ) irq_flags = irq_resflags &IRQF_TRIGGER_MASK ;Signature · 1 line
2.25.1
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Hello:
This series was applied to netdev/net-next.git (main) by Jakub Kicinski <[email protected]>:
Quoted 11 lines · On Wed, 4 Sep 2024 17:10:15 +0200 you wrote:
Changes in v2:
- Split the patches into subsystems.v1: https://lore.kernel.org/netdev/[email protected]/
Vasileios Amoiridis (3):
net: dsa: realtek: rtl8365mb: Make use ofirq_get_trigger_type()
net: dsa: realtek: rtl8366rb: Make use ofirq_get_trigger_type()
net: smc91x: Make use ofirq_get_trigger_type()[...]
Here is the summary with links:
- [net-next,v2,1/3] net: dsa: realtek: rtl8365mb: Make use of irq_get_trigger_type()
https://git.kernel.org/netdev/net-next/c/517c29247557 - [net-next,v2,2/3] net: dsa: realtek: rtl8366rb: Make use of irq_get_trigger_type() https://git.kernel.org/netdev/net-next/c/36a5faec5658 - [net-next,v2,3/3] net: smc91x: Make use of irq_get_trigger_type() https://git.kernel.org/netdev/net-next/c/f4bbf496f5fd
You are awesome, thank you!
Signature · 2 lines
Deet-doot-dot, I am a bot. https://korg.docs.kernel.org/patchwork/pwbot.html