|
@@ -66,10 +66,10 @@ static void bcm7120_l2_intc_suspend(struct irq_data *d)
|
|
|
|
|
|
irq_gc_lock(gc);
|
|
irq_gc_lock(gc);
|
|
/* Save the current mask and the interrupt forward mask */
|
|
/* Save the current mask and the interrupt forward mask */
|
|
- b->saved_mask = __raw_readl(b->base) | b->irq_fwd_mask;
|
|
|
|
|
|
+ b->saved_mask = __raw_readl(b->base + IRQEN) | b->irq_fwd_mask;
|
|
if (b->can_wake) {
|
|
if (b->can_wake) {
|
|
reg = b->saved_mask | gc->wake_active;
|
|
reg = b->saved_mask | gc->wake_active;
|
|
- __raw_writel(reg, b->base);
|
|
|
|
|
|
+ __raw_writel(reg, b->base + IRQEN);
|
|
}
|
|
}
|
|
irq_gc_unlock(gc);
|
|
irq_gc_unlock(gc);
|
|
}
|
|
}
|
|
@@ -81,7 +81,7 @@ static void bcm7120_l2_intc_resume(struct irq_data *d)
|
|
|
|
|
|
/* Restore the saved mask */
|
|
/* Restore the saved mask */
|
|
irq_gc_lock(gc);
|
|
irq_gc_lock(gc);
|
|
- __raw_writel(b->saved_mask, b->base);
|
|
|
|
|
|
+ __raw_writel(b->saved_mask, b->base + IRQEN);
|
|
irq_gc_unlock(gc);
|
|
irq_gc_unlock(gc);
|
|
}
|
|
}
|
|
|
|
|