From: Magnus Damm Date: Wed, 12 Oct 2011 07:21:08 +0000 (+0900) Subject: sh: intc: Allow triggering on both edges for ARM SoCs X-Git-Tag: v3.2-rc1~33^2~11 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7d377b170ae0d4df7692f50c9609bea385fe87cc;p=profile%2Fcommon%2Fkernel-common.git 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 Signed-off-by: Paul Mundt --- diff --git a/drivers/sh/intc/chip.c b/drivers/sh/intc/chip.c index e0ada37..7b246ef 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] = { !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 };