brcmfmac: allow device tree node without 'interrupts' property
authorArend van Spriel <arend@broadcom.com>
Wed, 20 May 2015 12:09:47 +0000 (14:09 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 26 May 2015 11:09:53 +0000 (14:09 +0300)
commitf58001fa95703ac275efe7d53fb7ca8613618b09
tree1b29cdaefbd748472978f60aa5e1f43c2bae6ef8
parentec21dc4a00905acb6c51eef0c29073e71e6e7ca1
brcmfmac: allow device tree node without 'interrupts' property

As described in the device tree bindings for 'brcm,bcm4329-fmac'
nodes, the interrupts property is optional. So adding a check
for the presence of this property before attempting to parse
and map the interrupt. If not present or parsing fails return
and fallback to in-band sdio interrupt.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/of.c