]> git.baikalelectronics.ru Git - kernel.git/commit
ALSA: mips: Use platform_get_irq() to get the interrupt
authorMeng Tang <tangmeng@uniontech.com>
Fri, 25 Feb 2022 11:19:29 +0000 (19:19 +0800)
committerTakashi Iwai <tiwai@suse.de>
Mon, 28 Feb 2022 15:59:01 +0000 (16:59 +0100)
commitbccd6bc5870583063b7e701ec8735c5d5d2f1c91
tree05ddd40d533a2d8d73d974200cd934c9274ad2e4
parenta3e59063b4007ec1fea97ec2064732eabf413e8a
ALSA: mips: 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/20220225111929.17194-1-tangmeng@uniontech.com
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/mips/snd-n64.c