aboutsummaryrefslogtreecommitdiffstats
path: root/package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch
diff options
context:
space:
mode:
authorRafał Miłecki <zajec5@gmail.com>2015-04-24 10:53:11 +0000
committerRafał Miłecki <zajec5@gmail.com>2015-04-24 10:53:11 +0000
commit84a3e668fc852afea25aadf8ee6f04a661fae280 (patch)
treefb7bc93587ff39561ad37918cedeeed49a6b3c9d /package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch
parentc1a7e135873d5def34db3b9393e18241a8cf3231 (diff)
downloadupstream-84a3e668fc852afea25aadf8ee6f04a661fae280.tar.gz
upstream-84a3e668fc852afea25aadf8ee6f04a661fae280.tar.bz2
upstream-84a3e668fc852afea25aadf8ee6f04a661fae280.zip
mac80211: backport brcmfmac to support multiple devices NVRAM
Signed-off-by: Rafał Miłecki <zajec5@gmail.com> SVN-Revision: 45577
Diffstat (limited to 'package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch')
-rw-r--r--package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch b/package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch
new file mode 100644
index 0000000000..d420308383
--- /dev/null
+++ b/package/kernel/mac80211/patches/359-brcmfmac-process-interrupt-regardless-sdiod-state.patch
@@ -0,0 +1,27 @@
+From: Arend van Spriel <arend@broadcom.com>
+Date: Tue, 14 Apr 2015 20:10:29 +0200
+Subject: [PATCH] brcmfmac: process interrupt regardless sdiod state
+
+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>
+---
+
+--- a/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
++++ b/drivers/net/wireless/brcm80211/brcmfmac/sdio.c
+@@ -3555,10 +3555,6 @@ void brcmf_sdio_isr(struct brcmf_sdio *b
+ 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())