projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4300b7
)
sh: intc: enable both edges GPIO interrupts on sh7372
author
Magnus Damm
<damm@opensource.se>
Fri, 15 Jul 2011 10:58:55 +0000
(10:58 +0000)
committer
Paul Mundt
<lethal@linux-sh.org>
Thu, 21 Jul 2011 07:53:24 +0000
(16:53 +0900)
IRQ-capable GPIOs on sh7372 can be configured to produce interrupts on
both edges.
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
drivers/sh/intc/chip.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/sh/intc/chip.c
b/drivers/sh/intc/chip.c
index f33e2dd979348f4b78560d15b2f8e9f9d33ef09e..33b2ed451e095dde15bedd14ce04ded170e17fd4 100644
(file)
--- 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)