]> git.baikalelectronics.ru Git - kernel.git/commit
ASoC: bcm: Use platform_get_irq() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Tue, 21 Dec 2021 17:01:00 +0000 (17:01 +0000)
committerMark Brown <broonie@kernel.org>
Tue, 21 Dec 2021 18:05:43 +0000 (18:05 +0000)
commit7fbf53d28bb2e660e87a70704af1d47a0c3c156d
tree2d2074e08cc396b93fafa15d95afd14c8c5f8938
parent19f668fdfe622756f5e07c79879c9d19a5f664b6
ASoC: bcm: 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().

While at it also drop "r_irq" member from struct bcm_i2s_priv as there
are no users of it.

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Link: https://lore.kernel.org/r/20211221170100.27423-3-prabhakar.mahadev-lad.rj@bp.renesas.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/bcm/bcm63xx-i2s.h
sound/soc/bcm/bcm63xx-pcm-whistler.c