Skip to content
Commit 43ff0d76 authored by Meng Tang's avatar Meng Tang Committed by Jakub Kicinski
Browse files

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: default avatarMeng Tang <tangmeng@uniontech.com>
Link: https://lore.kernel.org/r/20220303100815.25605-1-tangmeng@uniontech.com


Signed-off-by: default avatarJakub Kicinski <kuba@kernel.org>
parent 61fd7ac2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment