]> git.proxmox.com Git - mirror_ubuntu-kernels.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)
commit43ff0d76f23571e8cfc60bf08af4f89ef78f20f0
treecb780eeb9e92bfa97b090be6b42daf3c0f652f6c
parent61fd7ac2152237c3aa4057de81b98cb9a4967cd7
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