]> www.infradead.org Git - nvme.git/commit
wifi: brcmfmac: of: Support interrupts-extended
authorAlex Bee <knaerzche@gmail.com>
Sat, 22 Jun 2024 21:54:16 +0000 (23:54 +0200)
committerKalle Valo <kvalo@kernel.org>
Wed, 26 Jun 2024 17:50:58 +0000 (20:50 +0300)
commitf3f942d6e5889ea9d46cecf8fc0b7893b5ba9792
tree3b24c359de5107c7cec71e3a1877afd7cd710cd9
parentdbb5265a5d7cca1cdba7736dba313ab7d07bc19d
wifi: brcmfmac: of: Support interrupts-extended

The currently existing of_property_present check for interrupts does not
cover all ways interrupts can be defined in a device tree, e.g.
"interrupts-extended".

In order to support all current and future ways that can be done, drop that
check and call of_irq_parse_one to figure out if an interrupt is defined
and irq_create_of_mapping for the actual mapping and let it be handled by
the interrupt subsystem.

Signed-off-by: Alex Bee <knaerzche@gmail.com>
Acked-by: Arend van Spriel <arend.vanspriel@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://patch.msgid.link/20240622215416.659208-1-knaerzche@gmail.com
drivers/net/wireless/broadcom/brcm80211/brcmfmac/of.c