]> git.baikalelectronics.ru Git - kernel.git/commit
bcm63xx_enet: Use platform_get_irq() to get the interrupt
authorMeng Tang <tangmeng@uniontech.com>
Thu, 3 Mar 2022 10:08:15 +0000 (18:08 +0800)
committerJakub Kicinski <kuba@kernel.org>
Sat, 5 Mar 2022 05:34:59 +0000 (21:34 -0800)
commit5ce7b1c914c1fbd6e7be7a31724af3b6f65e4bd6
treecb780eeb9e92bfa97b090be6b42daf3c0f652f6c
parent628ea955c938d66cd9ff75740f35b82040e58d3b
bcm63xx_enet: Use platform_get_irq() to get the interrupt

platform_get_resource(pdev, IORESOURCE_IRQ, ..) relies on
static allocation of IRQ resources in DT core code, this
causes an issue when using hierarchical interrupt domains
using "interrupts" property in the node as this bypassed
the hierarchical setup and messed up the irq chaining.

In preparation for removal of static setup of IRQ resource
from DT core code use platform_get_irq().

Signed-off-by: Meng Tang <tangmeng@uniontech.com>
Link: https://lore.kernel.org/r/20220303100815.25605-1-tangmeng@uniontech.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/net/ethernet/broadcom/bcm63xx_enet.c