]> Pileus Git - ~andy/linux/commitdiff
sh: intc: Allow triggering on both edges for ARM SoCs
authorMagnus Damm <damm@opensource.se>
Wed, 12 Oct 2011 07:21:08 +0000 (16:21 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Fri, 4 Nov 2011 15:57:48 +0000 (00:57 +0900)
Enable IRQ_TYPE_EDGE_BOTH on all R/SH-Mobile ARM SoCs.
This hardware feature is supported by sh7367, sh7377,
sh7372 and sh73a0.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/chip.c

index e0ada37737862b703f312c3a9eef5327cfe37fb3..7b246efa94ea657de185facca3f622a47adfb9be 100644 (file)
@@ -186,7 +186,7 @@ static unsigned char intc_irq_sense_table[IRQ_TYPE_SENSE_MASK + 1] = {
     !defined(CONFIG_CPU_SUBTYPE_SH7709)
        [IRQ_TYPE_LEVEL_HIGH] = VALID(3),
 #endif
-#if defined(CONFIG_ARCH_SH7372)
+#if defined(CONFIG_ARM) /* all recent SH-Mobile / R-Mobile ARM support this */
        [IRQ_TYPE_EDGE_BOTH] = VALID(4),
 #endif
 };