[PATCH 2/2] ASoC: bcm: Use platform_get_irq() to get the interrupt

Florian Fainelli f.fainelli at gmail.com
Sun Dec 19 10:20:34 PST 2021



On 12/19/2021 10:10 AM, Lad Prabhakar wrote:
> 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 bypasses the hierarchical setup and messes up the
> irq chaining.
> 
> In preparation for removal of static setup of IRQ resource from DT core
> code use platform_get_irq().
> 
> While at it also drop "r_irq" member from struct bcm_i2s_priv as there
> are no users of it.
> 
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>

Reviewed-by: Florian Fainelli <f.fainelli at gmail.com>

Thanks!
-- 
Florian



More information about the linux-arm-kernel mailing list