brcm63xx: fix external IRQ edge type sense

Fix the register for configuring rising/falling edge

Rising should be sense=1, and falling sense=0.
The old driver used these values, but the new one have
them flipped.

Signed-off-by: Daniel Gonzalez Cabanelas <dgcbueu@gmail.com>
v19.07.3_mercusys_ac12_duma
Daniel Gonzalez Cabanelas 7 years ago committed by Jonas Gorski
parent a1a0f3f275
commit 377315de4d

@ -201,10 +201,10 @@ Signed-off-by: Jonas Gorski <jogo@openwrt.org>
+ break;
+
+ case IRQ_TYPE_EDGE_RISING:
+ sense = 1;
+ break;
+
+ case IRQ_TYPE_EDGE_FALLING:
+ sense = 1;
+ break;
+
+ case IRQ_TYPE_LEVEL_HIGH:

Loading…
Cancel
Save