summaryrefslogtreecommitdiff
path: root/drivers/irqchip
diff options
context:
space:
mode:
authorFelipe Balbi <balbi@ti.com>2014-09-16 01:15:08 +0400
committerTony Lindgren <tony@atomide.com>2014-09-17 01:45:01 +0400
commit74b6c8ef546dec98f1817147d31f17a1f3aab09e (patch)
tree2ee8897739c9bff462a9a84dcd05474faed276f0 /drivers/irqchip
parentb30791498a140d9460dfb9cb8edcb6fd1065363c (diff)
downloadlinux-74b6c8ef546dec98f1817147d31f17a1f3aab09e.tar.xz
irqchip: omap-intc: correct maximum number or MIR registers
maximum number of MIR register is 4, rather than 3. Fix that. Acked-by: Jason Cooper <jason@lakedaemon.net> Signed-off-by: Felipe Balbi <balbi@ti.com> Signed-off-by: Tony Lindgren <tony@atomide.com>
Diffstat (limited to 'drivers/irqchip')
-rw-r--r--drivers/irqchip/irq-omap-intc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/irqchip/irq-omap-intc.c b/drivers/irqchip/irq-omap-intc.c
index dfa2d9de5361..976d4c15fefd 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)