]> git.baikalelectronics.ru Git - kernel.git/commit
media: stm32-dma2d: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 11 Jan 2022 00:23:06 +0000 (01:23 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 28 Jan 2022 10:39:42 +0000 (11:39 +0100)
commitdf3629b4fb5602f1f26ba5d435202b484a1f0afd
treea1ca3c6aac63d7b0d5950f642ffb15f42c2938bf
parent9f549f0a06df4f38f577949ecc14f8803f3dfc3b
media: stm32-dma2d: 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 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@bp.renesas.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/stm32/dma2d/dma2d.c