drm/exynos: gsc: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 22 Dec 2021 19:01:34 +0000 (19:01 +0000)
committerInki Dae <inki.dae@samsung.com>
Fri, 4 Mar 2022 08:13:51 +0000 (17:13 +0900)
commit25b522796223197063660f73db5212b5312c2660
tree59492fd3d7c5d8b0c918970e84df1581881e4c8f
parent61f5fc8d5d577f201c39c886309fa30d91c9e392
drm/exynos: gsc: 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: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Inki Dae <inki.dae@samsung.com>
drivers/gpu/drm/exynos/exynos_drm_gsc.c