diff options
Diffstat (limited to 'drivers/memory')
-rw-r--r-- | drivers/memory/tegra20-mc.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/drivers/memory/tegra20-mc.c b/drivers/memory/tegra20-mc.c index 2ca5f2814f4a..0548eeacd573 100644 --- a/drivers/memory/tegra20-mc.c +++ b/drivers/memory/tegra20-mc.c | |||
@@ -193,8 +193,11 @@ static irqreturn_t tegra20_mc_isr(int irq, void *data) | |||
193 | mask &= stat; | 193 | mask &= stat; |
194 | if (!mask) | 194 | if (!mask) |
195 | return IRQ_NONE; | 195 | return IRQ_NONE; |
196 | while ((bit = ffs(mask)) != 0) | 196 | while ((bit = ffs(mask)) != 0) { |
197 | tegra20_mc_decode(mc, bit - 1); | 197 | tegra20_mc_decode(mc, bit - 1); |
198 | mask &= ~BIT(bit - 1); | ||
199 | } | ||
200 | |||
198 | mc_writel(mc, stat, MC_INTSTATUS); | 201 | mc_writel(mc, stat, MC_INTSTATUS); |
199 | return IRQ_HANDLED; | 202 | return IRQ_HANDLED; |
200 | } | 203 | } |