brcmfmac: sdio module load fix.
authorHante Meuleman <meuleman@broadcom.com>
Thu, 15 Nov 2012 02:46:21 +0000 (18:46 -0800)
committerJohn W. Linville <linville@tuxdriver.com>
Fri, 16 Nov 2012 19:29:03 +0000 (14:29 -0500)
On sdio module unload followed by load (without removing the
device) the access window should be moved back to enumeration
space. Force this by removing initialisation of sbwad during
probe.

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

index 4c3315ce9683e75faffd8b795b323792d39cfb8d..334ddab4a8c59ae8c4563d4542244c1e6d2f3875 100644 (file)
@@ -516,9 +516,6 @@ int brcmf_sdio_probe(struct brcmf_sdio_dev *sdiodev)
 
        regs = SI_ENUM_BASE;
 
-       /* Report the BAR, to fix if needed */
-       sdiodev->sbwad = SI_ENUM_BASE;
-
        /* try to attach to the target device */
        sdiodev->bus = brcmf_sdbrcm_probe(regs, sdiodev);
        if (!sdiodev->bus) {