diff options
author | Michael Hsu <mhsu@nvidia.com> | 2013-06-04 00:49:14 -0700 |
---|---|---|
committer | Mandar Padmawar <mpadmawar@nvidia.com> | 2013-06-05 05:17:20 -0700 |
commit | b1e29c7914c630f0a9a7bdd57cb27514c13e70a9 (patch) | |
tree | a466ba506df9f32e0db98ad0c133ecc49159f874 | |
parent | eda52401485aeef531413df54af126e610612fa0 (diff) |
net: wireless: bcmdhd: mask excessive wifi chip interrupts
On P2560 hardware only, wifi chip generates excessive wifi
activity interrupts:
- on first boot after flashing image
WAR is to mask this specific wifi activity interrupt to
prevent it from keeping application processor awake.
Bug 1299635
Change-Id: Idf0fdaf817621e3ae5e0f63864c488366dbbcaba
Signed-off-by: Michael Hsu <mhsu@nvidia.com>
Reviewed-on: http://git-master/r/235330
Reviewed-by: Matt Wagner <mwagner@nvidia.com>
-rw-r--r-- | drivers/net/wireless/bcmdhd/dhd_sdio.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/drivers/net/wireless/bcmdhd/dhd_sdio.c b/drivers/net/wireless/bcmdhd/dhd_sdio.c index c24b0d8596f8..a5d5df22b36c 100644 --- a/drivers/net/wireless/bcmdhd/dhd_sdio.c +++ b/drivers/net/wireless/bcmdhd/dhd_sdio.c @@ -1375,6 +1375,7 @@ dhdsdio_bussleep(dhd_bus_t *bus, bool sleep) /* Leave interrupts enabled since device can exit sleep and * interrupt host */ + W_SDREG(bus->hostintmask & ~I_CHIPACTIVE, &bus->regs->hostintmask, retries); err = dhdsdio_clk_devsleep_iovar(bus, TRUE /* sleep */); } @@ -1412,6 +1413,7 @@ dhdsdio_bussleep(dhd_bus_t *bus, bool sleep) } } else { err = dhdsdio_clk_devsleep_iovar(bus, FALSE /* wake */); + W_SDREG(bus->hostintmask, &bus->regs->hostintmask, retries); } if (err == 0) { |