summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/mwl8k.c
diff options
context:
space:
mode:
authorHante Meuleman <meuleman@broadcom.com>2014-03-06 10:16:12 +0100
committerJohn W. Linville <linville@tuxdriver.com>2014-03-06 20:29:58 +0100
commit5cbb9c285bdcc14ee381120dab7e23a81060f1c0 (patch)
treefa65f4a61ef1a7ab8569710564610abdeed29a43 /drivers/net/wireless/mwl8k.c
parentRevert "brcmfmac: Use atomic functions for intstatus update." (diff)
downloadlinux-5cbb9c285bdcc14ee381120dab7e23a81060f1c0.tar.xz
linux-5cbb9c285bdcc14ee381120dab7e23a81060f1c0.zip
brcmfmac: Use atomic functions for intstatus update.
The intstatus in sdio code can be updated from different threads. To protect intstatus access, atomic functions are used. One of them is set_bit, but this function is not guaranteed atomic on all platforms. The loop was replaced with local created OR function. Reviewed-by: Arend Van Spriel <arend@broadcom.com> Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com> Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com> Reviewed-by: Daniel (Deognyoun) Kim <dekim@broadcom.com> Signed-off-by: Hante Meuleman <meuleman@broadcom.com> Signed-off-by: Arend van Spriel <arend@broadcom.com> Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/mwl8k.c')
0 files changed, 0 insertions, 0 deletions