diff options
author | Magnus Damm <damm@opensource.se> | 2011-10-12 03:21:08 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-11-04 11:57:48 -0400 |
commit | 7d377b170ae0d4df7692f50c9609bea385fe87cc (patch) | |
tree | 7d08f799300242a9c3a1049a12b3577125f0d0d6 | |
parent | d6e15eefcb334deac3e877fce80ace3b91b0ab69 (diff) |
sh: intc: Allow triggering on both edges for ARM SoCs
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>
-rw-r--r-- | drivers/sh/intc/chip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/sh/intc/chip.c b/drivers/sh/intc/chip.c index e0ada3773786..7b246efa94ea 100644 --- a/drivers/sh/intc/chip.c +++ b/drivers/sh/intc/chip.c | |||
@@ -186,7 +186,7 @@ static unsigned char intc_irq_sense_table[IRQ_TYPE_SENSE_MASK + 1] = { | |||
186 | !defined(CONFIG_CPU_SUBTYPE_SH7709) | 186 | !defined(CONFIG_CPU_SUBTYPE_SH7709) |
187 | [IRQ_TYPE_LEVEL_HIGH] = VALID(3), | 187 | [IRQ_TYPE_LEVEL_HIGH] = VALID(3), |
188 | #endif | 188 | #endif |
189 | #if defined(CONFIG_ARCH_SH7372) | 189 | #if defined(CONFIG_ARM) /* all recent SH-Mobile / R-Mobile ARM support this */ |
190 | [IRQ_TYPE_EDGE_BOTH] = VALID(4), | 190 | [IRQ_TYPE_EDGE_BOTH] = VALID(4), |
191 | #endif | 191 | #endif |
192 | }; | 192 | }; |