diff options
author | Hante Meuleman <[email protected]> | 2014-03-06 10:16:12 +0100 |
---|---|---|
committer | John W. Linville <[email protected]> | 2014-03-06 14:29:58 -0500 |
commit | 5cbb9c285bdcc14ee381120dab7e23a81060f1c0 (patch) | |
tree | fa65f4a61ef1a7ab8569710564610abdeed29a43 /lib/dynamic_debug.c | |
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 <[email protected]>
Reviewed-by: Franky (Zhenhui) Lin <[email protected]>
Reviewed-by: Pieter-Paul Giesberts <[email protected]>
Reviewed-by: Daniel (Deognyoun) Kim <[email protected]>
Signed-off-by: Hante Meuleman <[email protected]>
Signed-off-by: Arend van Spriel <[email protected]>
Signed-off-by: John W. Linville <[email protected]>
Diffstat (limited to 'lib/dynamic_debug.c')
0 files changed, 0 insertions, 0 deletions