Browse Source

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

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

Signed-off-by: Boojin Kim <boojin.kim@samsung.com>
Signed-off-by: Kukjin Kim <kgene.kim@samsung.com>
Boojin Kim 15 năm trước cách đây
mục cha
commit
79fc72d6d3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      arch/arm/plat-s5p/irq-eint.c

+ 1 - 1
arch/arm/plat-s5p/irq-eint.c

@@ -71,7 +71,7 @@ static int s5p_irq_eint_set_type(unsigned int irq, unsigned int type)
 		break;
 		break;
 
 
 	case IRQ_TYPE_EDGE_FALLING:
 	case IRQ_TYPE_EDGE_FALLING:
-		newvalue = S5P_EXTINT_RISEEDGE;
+		newvalue = S5P_EXTINT_FALLEDGE;
 		break;
 		break;
 
 
 	case IRQ_TYPE_EDGE_BOTH:
 	case IRQ_TYPE_EDGE_BOTH: