brcmfmac: determine sd host controller related variable earlier
authorArend van Spriel <arend@broadcom.com>
Fri, 29 Nov 2013 11:25:07 +0000 (12:25 +0100)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 2 Dec 2013 19:25:19 +0000 (14:25 -0500)
commit2f5f817f1aceca10b9fb7eaf8a07b2a67f8ad15c
tree023bcf05d526289cbbf7a2fa4df1f5b34ccd51f1
parent4b776961a0d2099c684f4c2256896cb64e4fa9e7
brcmfmac: determine sd host controller related variable earlier

The commit "eb9c174 brcmfmac: determine host controller related
variables during probe" was not implemented correctly as the
information is already needed in brcmf_sdbrcm_probe(). This patch
moves it to brcmf_sdioh_attach() instead.

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_sdmmc.c