Skip to contentSkip to conversation

ARM: S5P: Bug fix on external interrupt for S5P series

PATCH New Kukjin Kim 1 participant 1 message May 31, 2010

Subsystems (3)
lore
Share & tools
lore

Kukjin Kim

author
#0 lore raw

PATCH 1/1 ARM: S5P: Bug fix on external interrupt for S5P series

From: Boojin Kim <[email protected]>

This patch fixes bug on eint type set function, s5p_irq_eint_set_type(). In the IRQ_TYPE_EDGE_FALLING case, S5P_EXTINT_FALLEDGE is right instead of S5P_EXTINT_RISEEDGE

---
 arch/arm/plat-s5p/irq-eint.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
arch/arm/plat-s5p/irq-eint.c +1 -1
index e56c807..f36cd33 100644
@@ -71,7 +71,7 @@ static int s5p_irq_eint_set_type(unsigned int irq, unsigned int type)
 		break;
 
 	case IRQ_TYPE_EDGE_FALLING:
-		newvalue = S5P_EXTINT_RISEEDGE;
+		newvalue = S5P_EXTINT_FALLEDGE;
 		break;
 
 	case IRQ_TYPE_EDGE_BOTH:
Signature · 1 line
1.6.2.5