brcmfmac: process interrupt regardless sdiod state
authorArend van Spriel <arend@broadcom.com>
Tue, 14 Apr 2015 18:10:29 +0000 (20:10 +0200)
committerKalle Valo <kvalo@codeaurora.org>
Sat, 9 May 2015 13:26:53 +0000 (16:26 +0300)
When the sdio bus state is not ready to process we abort the
interrupt service routine. This is not wanted as it keeps the
interrupt source active. Better clear the interrupt source.

Reviewed-by: Hante Meuleman <meuleman@broadcom.com>
Reviewed-by: Pieter-Paul Giesberts <pieterpg@broadcom.com>
Reviewed-by: Franky (Zhenhui) Lin <frankyl@broadcom.com>
Signed-off-by: Arend van Spriel <arend@broadcom.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/net/wireless/brcm80211/brcmfmac/sdio.c

index cbdda54873576552cf466f831ef7fccf739fb88d..bf7a8b1ad91485afa1c15fb9d1e38c5872ca3362 100644 (file)
@@ -3555,10 +3555,6 @@ void brcmf_sdio_isr(struct brcmf_sdio *bus)
                return;
        }
 
-       if (bus->sdiodev->state != BRCMF_SDIOD_DATA) {
-               brcmf_err("bus is down. we have nothing to do\n");
-               return;
-       }
        /* Count the interrupt call */
        bus->sdcnt.intrcount++;
        if (in_interrupt())