[source] brcm63xx: fix external IRQ edge type sense
LEDE Commits
lede-commits at lists.infradead.org
Tue Feb 28 04:19:41 PST 2017
jogo pushed a commit to source.git, branch master:
https://git.lede-project.org/377315de4d1c05c860bb138a7c4c5b8a7d0e462a
commit 377315de4d1c05c860bb138a7c4c5b8a7d0e462a
Author: Daniel Gonzalez Cabanelas <dgcbueu at gmail.com>
AuthorDate: Tue Feb 7 21:36:16 2017 +0100
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 at gmail.com>
---
.../321-irqchip-add-support-for-bcm6345-style-external-inter.patch | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch b/target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch
index 2271b66..5c735c8 100644
--- a/target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch
+++ b/target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch
@@ -201,10 +201,10 @@ Signed-off-by: Jonas Gorski <jogo at openwrt.org>
+ break;
+
+ case IRQ_TYPE_EDGE_RISING:
++ sense = 1;
+ break;
+
+ case IRQ_TYPE_EDGE_FALLING:
-+ sense = 1;
+ break;
+
+ case IRQ_TYPE_LEVEL_HIGH:
More information about the lede-commits
mailing list