maximum number of MIR register is 4, rather than 3.
Fix that.

Acked-by: Jason Cooper <[email protected]>
Signed-off-by: Felipe Balbi <[email protected]>
---
 drivers/irqchip/irq-omap-intc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index dfa2d9d..976d4c1 100644
--- a/drivers/irqchip/irq-omap-intc.c
+++ b/drivers/irqchip/irq-omap-intc.c
@@ -49,7 +49,7 @@
 
 #define ACTIVEIRQ_MASK         0x7f    /* omap2/3 active interrupt bits */
 #define INTCPS_NR_ILR_REGS     128
-#define INTCPS_NR_MIR_REGS     3
+#define INTCPS_NR_MIR_REGS     4
 
 #define INTC_IDLE_FUNCIDLE     (1 << 0)
 #define INTC_IDLE_TURBO                (1 << 1)
-- 
2.0.1.563.g66f467c

--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to