Skip to content
Snippets Groups Projects
Commit 377315de authored by Daniel Gonzalez Cabanelas's avatar Daniel Gonzalez Cabanelas Committed by Jonas Gorski
Browse files

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: default avatarDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>
parent a1a0f3f2
No related branches found
No related tags found
No related merge requests found
......@@ -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:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment