brcmfmac: use sdio functions to enable/disable F2
authorArend van Spriel <arend@broadcom.com>
Thu, 12 Dec 2013 10:58:53 +0000 (11:58 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Wed, 18 Dec 2013 20:22:37 +0000 (15:22 -0500)
commit71370eb87b4815d4cb4c901b85386b4e7b72c578
treea616506084b29609a4bd155dfca209c42e7d1f5d
parent463c30b3f987b9933a705227964847b49d4d7b32
brcmfmac: use sdio functions to enable/disable F2

Instead of catching CCCR_IOEx register in F0 write access to
determine whether F2 state needs to change do it with direct
call to sdio_[enable/disable]_func().

Reviewed-by: Franky Lin <frankyl@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/net/wireless/brcm80211/brcmfmac/bcmsdh.c
drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c