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>
openwrt-18.06
Daniel Gonzalez Cabanelas 2017-02-07 21:36:16 +01:00 committed by Jonas Gorski
parent a1a0f3f275
commit 377315de4d
1 changed files with 1 additions and 1 deletions

View File

@ -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: