]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: xlnx: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 21 Dec 2021 17:00:59 +0000 (17:00 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 21 Dec 2021 18:05:42 +0000 (18:05 +0000)
commit43422440980956985bd881588d4f768aebb0f775
treea4af80e06b5568f3e7b93f2456171a03c54ccb93
parent4085369885da0394c5268972a84d7d5a7f4fb0c7
ASoC: xlnx: 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>
Link: https://lore.kernel.org/r/20211221170100.27423-2-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/xilinx/xlnx_spdif.c