Re: [PATCH 1/2] sh-mobile: enable both edges GPIO interrupts on sh7372
On Fri, Jul 15, 2011 at 08:14:23PM +0900, Magnus Damm wrote: On Fri, Jul 15, 2011 at 7:58 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: From: Magnus Damm d...@opensource.se IRQ-capable GPIOs on sh7372 can be configured to produce interrupts on both edges. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Magnus Damm d...@opensource.se --- ?drivers/sh/intc/chip.c | ? ?3 +++ ?1 files changed, 3 insertions(+), 0 deletions(-) Acked-by: Magnus Damm d...@opensource.se Applied, thanks. -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
[PATCH 1/2] sh-mobile: enable both edges GPIO interrupts on sh7372
From: Magnus Damm d...@opensource.se IRQ-capable GPIOs on sh7372 can be configured to produce interrupts on both edges. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Magnus Damm d...@opensource.se --- drivers/sh/intc/chip.c |3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/drivers/sh/intc/chip.c b/drivers/sh/intc/chip.c index f33e2dd..33b2ed4 100644 --- a/drivers/sh/intc/chip.c +++ b/drivers/sh/intc/chip.c @@ -186,6 +186,9 @@ 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) + [IRQ_TYPE_EDGE_BOTH] = VALID(4), +#endif }; static int intc_set_type(struct irq_data *data, unsigned int type) -- 1.7.2.5 -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html
Re: [PATCH 1/2] sh-mobile: enable both edges GPIO interrupts on sh7372
On Fri, Jul 15, 2011 at 7:58 PM, Guennadi Liakhovetski g.liakhovet...@gmx.de wrote: From: Magnus Damm d...@opensource.se IRQ-capable GPIOs on sh7372 can be configured to produce interrupts on both edges. Signed-off-by: Guennadi Liakhovetski g.liakhovet...@gmx.de Cc: Magnus Damm d...@opensource.se --- drivers/sh/intc/chip.c | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) Acked-by: Magnus Damm d...@opensource.se -- To unsubscribe from this list: send the line unsubscribe linux-mmc in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html