diff options
author | Hante Meuleman <meuleman@broadcom.com> | 2014-03-06 10:16:12 +0100 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2014-03-06 14:29:58 -0500 |
commit | 5cbb9c285bdcc14ee381120dab7e23a81060f1c0 (patch) | |
tree | fa65f4a61ef1a7ab8569710564610abdeed29a43 /virt | |
parent | 561e722201e41e304936b8a2aaa282c46ad4f393 (diff) |
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 'virt')
0 files changed, 0 insertions, 0 deletions