[PATCH] rtc: ftrtc010: Use platform_get_irq() to get the interrupt

Linus Walleij linus.walleij at linaro.org
Sun Dec 19 18:19:52 PST 2021


On Mon, Dec 20, 2021 at 2:15 AM Lad Prabhakar
<prabhakar.mahadev-lad.rj at bp.renesas.com> 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().
>
> Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj at bp.renesas.com>

Reviewed-by: Linus Walleij <linus.walleij at linaro.org>

Yours,
Linus Walleij



More information about the linux-arm-kernel mailing list