OSDN Git Service

drm/exynos/fimc: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Wed, 22 Dec 2021 19:01:33 +0000 (19:01 +0000)
committerInki Dae <inki.dae@samsung.com>
Fri, 4 Mar 2022 08:13:51 +0000 (17:13 +0900)
commit61f5fc8d5d577f201c39c886309fa30d91c9e392
treeccce1a9a8b1d120356891d905eb52c260573abf8
parent9df3f43acf9ad389484f4d24345672206ca315df
drm/exynos/fimc: 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_fimc.c