]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: amd: pcm-dma: Use platform_get_irq() to get the interrupt
authorMeng Tang <tangmeng@uniontech.com>
Sun, 27 Feb 2022 05:09:28 +0000 (13:09 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 28 Feb 2022 13:33:35 +0000 (13:33 +0000)
commit667c949982cc2f30a31013c3d34e12a88b1b119b
tree546e34af958a39e240ff4412460e50e9c202cd0d
parent50013be8d15cf074c2dfc2349bf4bafc8feb704f
ASoC: amd: pcm-dma: 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: Meng Tang <tangmeng@uniontech.com>
Link: https://lore.kernel.org/r/20220227050928.32270-1-tangmeng@uniontech.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/amd/acp-pcm-dma.c
sound/soc/amd/raven/acp3x-pcm-dma.c
sound/soc/amd/renoir/acp3x-pdm-dma.c
sound/soc/amd/vangogh/acp5x-pcm-dma.c