sh: intc: Allow triggering on both edges for ARM SoCs
PATCH 2/7 sh: intc: Allow triggering on both edges for ARM SoCs
From: Magnus Damm <[email protected]>
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 <[email protected]>
---
drivers/sh/intc/chip.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/sh/intc/chip.c +1 -1
@@ -186,7 +186,7 @@ static unsigned char intc_irq_sense_tabl !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 };