From: Hante Meuleman Date: Thu, 6 Mar 2014 09:16:12 +0000 (+0100) Subject: brcmfmac: Use atomic functions for intstatus update. X-Git-Tag: v3.15-rc1~113^2~159^2^2~6 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5cbb9c285bdcc14ee381120dab7e23a81060f1c0;p=pandora-kernel.git 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 Reviewed-by: Franky (Zhenhui) Lin Reviewed-by: Pieter-Paul Giesberts Reviewed-by: Daniel (Deognyoun) Kim Signed-off-by: Hante Meuleman Signed-off-by: Arend van Spriel Signed-off-by: John W. Linville --- Reading git-diff-tree failed