brcmfmac: use irq safe spinlock in brcmf_sdbrcm_txdata()
authorArend van Spriel <arend@broadcom.com>
Sat, 10 Aug 2013 10:27:19 +0000 (12:27 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Thu, 15 Aug 2013 20:07:51 +0000 (16:07 -0400)
commit4061f895088a2825b15312947aedb8574e2d8de5
treeb92def4417eb28dc36df9ef6e38534eb42428a40
parent74ea1f45243ecfbed30e3ef51d9ec5df2042be03
brcmfmac: use irq safe spinlock in brcmf_sdbrcm_txdata()

Firmware-signalling needs transmit to firmware to be atomic and
uses a spinlock with irq disabled. Therefor, brcmf_sdbrcm_txdata()
should not use spin_unlock_bh() as it would enable the interrupts.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/dhd_bus.h
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c