brcmfmac: Add necessary memory barriers for SDIO.
authorHante Meuleman <meuleman@broadcom.com>
Wed, 18 Mar 2015 12:25:22 +0000 (13:25 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Fri, 20 Mar 2015 07:03:36 +0000 (09:03 +0200)
commit2c64e16d1ff1228df837508ab32e8a060cb06907
treed5fd39ba02e8edb551091ba08be783a1d01c4805
parent063d51776bd60ebf2587682eb394851c792e58d9
brcmfmac: Add necessary memory barriers for SDIO.

SDIO uses a thread to handle all communication with the device,
for this data is exchanged between threads. This data needs proper
memory barriers to make sure that data "exchange" is going correct.

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: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c