mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 13:48:06 +00:00
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>
This commit is contained in:
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
Block a user