wcn36xx: Use platform_get_irq_byname() to get the interrupt
authorLad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Fri, 24 Dec 2021 19:26:24 +0000 (19:26 +0000)
committerKalle Valo <quic_kvalo@quicinc.com>
Mon, 17 Jan 2022 12:44:08 +0000 (14:44 +0200)
commitd17efe4f80fc729416b5a467b4c60448cee64bfb
tree406be4ea33d8a08f09a3c0fa8a5566b6b8b3e2c0
parent76d7b996aab822c80a6f18c5e2bba1d4de46eab5
wcn36xx: Use platform_get_irq_byname() to get the interrupt

platform_get_resource_byname(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_byname().

Signed-off-by: Lad Prabhakar <prabhakar.mahadev-lad.rj@bp.renesas.com>
Signed-off-by: Kalle Valo <quic_kvalo@quicinc.com>
Link: https://lore.kernel.org/r/20211224192626.15843-7-prabhakar.mahadev-lad.rj@bp.renesas.com
drivers/net/wireless/ath/wcn36xx/main.c