brcmfmac: Use atomic functions for intstatus update.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 26 Feb 2014 12:32:32 +0000 (13:32 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 28 Feb 2014 19:33:26 +0000 (14:33 -0500)
commitc98db0bec72ac7ef127119c1ed962d6f56802b12
treef0bd7ea4deff20ffa0be6a106299f911d3293e22
parent2259ba38a5c545bb54ee0fd9b07cb1828a2849d6
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. The loop was replaced using atomic_set_mask().

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>
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c