brcmfmac: protect consecutive SDIO access with sdio_claim_host
authorFranky Lin <frankyl@broadcom.com>
Tue, 6 Nov 2012 00:22:24 +0000 (16:22 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 14 Nov 2012 19:55:56 +0000 (14:55 -0500)
commit38b0b0ddee3270106d740e8df42a5b52beed502b
tree09cc5589cf2ad3d618ea7f74c98f5a207e37349f
parent7cdf57d34c017e5c4c48069ae46e7cb87979435a
brcmfmac: protect consecutive SDIO access with sdio_claim_host

Semaphore sdsem is used to protect consecutive memory access
through SDIO bus. Same functionality is provided by sdio_claim_host/
sdio_release_host interface as well. Replace sdsem with
sdio_claim_host.

Signed-off-by: Franky Lin <frankyl@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh_sdmmc.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c