mirror of https://github.com/hak5/openwrt.git
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
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…
Reference in New Issue