diff options
author | David Lin <dlin@marvell.com> | 2016-06-07 11:18:18 +0800 |
---|---|---|
committer | David Lin <dlin@marvell.com> | 2016-06-07 11:18:18 +0800 |
commit | ade5aac7bf9ce8e51a3f3a93f9c6c9efd5f8c247 (patch) | |
tree | d6cf9145d8dff44bc677bf85ee343cc0f644d1fe | |
parent | af294d17374f2acff09b0b8fc64668288b6e1dd4 (diff) |
Removed code related to BG4CT_A0_WORKAROUND.
Signed-off-by: David Lin <dlin@marvell.com>
-rw-r--r-- | isr.c | 13 |
1 files changed, 0 insertions, 13 deletions
@@ -21,24 +21,15 @@ #include "isr.h" #define INVALID_WATCHDOG 0xAA -#ifdef BG4CT_A0_WORKAROUND -#define MAX_ISR_ITERATION 2 -#endif irqreturn_t mwl_isr(int irq, void *dev_id) { struct ieee80211_hw *hw = dev_id; struct mwl_priv *priv = hw->priv; void __iomem *int_status_mask; -#ifdef BG4CT_A0_WORKAROUND - unsigned int currIteration = 0; -#endif u32 int_status; u32 status; -#ifdef BG4CT_A0_WORKAROUND - do { -#endif int_status_mask = priv->iobase1 + MACREG_REG_A2H_INTERRUPT_STATUS_MASK; int_status = readl(priv->iobase1 + MACREG_REG_A2H_INTERRUPT_CAUSE); @@ -98,11 +89,7 @@ irqreturn_t mwl_isr(int irq, void *dev_id) if (int_status & MACREG_A2HRIC_BA_WATCHDOG) ieee80211_queue_work(hw, &priv->watchdog_ba_handle); - } -#ifdef BG4CT_A0_WORKAROUND - } while (currIteration++ < MAX_ISR_ITERATION); -#endif return IRQ_HANDLED; } |