diff options
author | Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com> | 2022-01-10 17:40:39 +0300 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2022-05-19 13:11:50 +0300 |
commit | 3277e022a1c31f5041753942b3d9006174ca7aa2 (patch) | |
tree | eadde30ac3f9fafcaa695e4057f1249e67adb4b2 /drivers/watchdog/rti_wdt.c | |
parent | feef7f32521eb169d7bcbb80291fc78bd39edb97 (diff) | |
download | linux-3277e022a1c31f5041753942b3d9006174ca7aa2.tar.xz |
thermal/drivers/rcar_thermal: Use platform_get_irq_optional() 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 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_optional().
Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20220110144039.5810-1-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Diffstat (limited to 'drivers/watchdog/rti_wdt.c')
0 files changed, 0 insertions, 0 deletions