OSDN Git Service

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