359-brcmfmac-process-interrupt-regardless-sdiod-state.patch 947 B

123456789101112131415161718192021222324252627
  1. From: Arend van Spriel <[email protected]>
  2. Date: Tue, 14 Apr 2015 20:10:29 +0200
  3. Subject: [PATCH] brcmfmac: process interrupt regardless sdiod state
  4. When the sdio bus state is not ready to process we abort the
  5. interrupt service routine. This is not wanted as it keeps the
  6. interrupt source active. Better clear the interrupt source.
  7. Reviewed-by: Hante Meuleman <[email protected]>
  8. Reviewed-by: Pieter-Paul Giesberts <[email protected]>
  9. Reviewed-by: Franky (Zhenhui) Lin <[email protected]>
  10. Signed-off-by: Arend van Spriel <[email protected]>
  11. ---
  12. --- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
  13. +++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
  14. @@ -3555,10 +3555,6 @@ void brcmf_sdio_isr(struct brcmf_sdio *b
  15. return;
  16. }
  17. - if (bus->sdiodev->state != BRCMF_SDIOD_DATA) {
  18. - brcmf_err("bus is down. we have nothing to do\n");
  19. - return;
  20. - }
  21. /* Count the interrupt call */
  22. bus->sdcnt.intrcount++;
  23. if (in_interrupt())