diff options
author | Piotr Haber <phaber@broadcom.com> | 2013-02-08 06:06:33 -0500 |
---|---|---|
committer | John W. Linville <linville@tuxdriver.com> | 2013-02-08 14:51:36 -0500 |
commit | b55de97ffd920e2bb1104eca272688f1be7329c2 (patch) | |
tree | c7574ef6da7e62b444abf5da1cccf87f592bb380 /drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | |
parent | 643ecaab355c3879215cb34c10ae88d729e408be (diff) |
brcmfmac: fix mmc host locking issue
fix wrong locking in crash info processing
Reviewed-by: Arend Van Spriel <arend@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Signed-off-by: Piotr Haber <phaber@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
Diffstat (limited to 'drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c')
-rw-r--r-- | drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c index 04680c56bafc..9a1f823ad31d 100644 --- a/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c +++ b/drivers/net/wireless/brcm80211/brcmfmac/dhd_sdio.c | |||
@@ -2701,7 +2701,7 @@ static int brcmf_sdio_readshared(struct brcmf_sdio *bus, | |||
2701 | sdio_claim_host(bus->sdiodev->func[1]); | 2701 | sdio_claim_host(bus->sdiodev->func[1]); |
2702 | rv = brcmf_sdbrcm_membytes(bus, false, shaddr, | 2702 | rv = brcmf_sdbrcm_membytes(bus, false, shaddr, |
2703 | (u8 *)&addr_le, 4); | 2703 | (u8 *)&addr_le, 4); |
2704 | sdio_claim_host(bus->sdiodev->func[1]); | 2704 | sdio_release_host(bus->sdiodev->func[1]); |
2705 | if (rv < 0) | 2705 | if (rv < 0) |
2706 | return rv; | 2706 | return rv; |
2707 | 2707 | ||