summaryrefslogtreecommitdiffstats
path: root/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
diff options
context:
space:
mode:
authorArend van Spriel <arend@broadcom.com>2015-03-11 16:11:30 +0100
committerKalle Valo <kvalo@codeaurora.org>2015-03-13 16:10:32 +0200
commit38f29e1f42b114105e1ffefba0bc183e1e144d0b (patch)
tree0b8f187d86b8e77d113dcbf986f9e7ed6adae835 /drivers/net/wireless/brcm80211/brcmfmac/sdio.c
parentd380ebc9b6fb552345de3051d9b64e963eaadf46 (diff)
downloadlinux-38f29e1f42b114105e1ffefba0bc183e1e144d0b.tar.gz
linux-38f29e1f42b114105e1ffefba0bc183e1e144d0b.tar.bz2
linux-38f29e1f42b114105e1ffefba0bc183e1e144d0b.zip
brcmfmac: assure device is ready for download after brcmf_chip_attach()
Make the brcmf_chip_attach() function responsible for putting the device in a state where it is accessible for firmware download. 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: Kalle Valo <kvalo@codeaurora.org>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/sdio.c')
-rw-r--r--drivers/net/wireless/brcm80211/brcmfmac/sdio.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
index fff3b26975fe..c783c25b9ee0 100644
--- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
+++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
@@ -3356,9 +3356,6 @@ static int brcmf_sdio_download_firmware(struct brcmf_sdio *bus,
sdio_claim_host(bus->sdiodev->func[1]);
brcmf_sdio_clkctl(bus, CLK_AVAIL, false);
- /* Keep arm in reset */
- brcmf_chip_set_passive(bus->ci);
-
rstvec = get_unaligned_le32(fw->data);
brcmf_dbg(SDIO, "firmware rstvec: %x\n", rstvec);