summaryrefslogtreecommitdiffstats
path: root/target/linux/brcm63xx
diff options
context:
space:
mode:
authorDaniel Gonzalez Cabanelas <dgcbueu@gmail.com>2017-02-07 21:36:16 +0100
committerJonas Gorski <jonas.gorski@gmail.com>2017-02-28 13:18:26 +0100
commit377315de4d1c05c860bb138a7c4c5b8a7d0e462a (patch)
tree4bd61609b45beb6e85798306d99c331cead26fde /target/linux/brcm63xx
parenta1a0f3f2758d099db067e9648751aaa46be6701b (diff)
downloadopenwrt-377315de4d1c05c860bb138a7c4c5b8a7d0e462a.tar.gz
openwrt-377315de4d1c05c860bb138a7c4c5b8a7d0e462a.tar.bz2
openwrt-377315de4d1c05c860bb138a7c4c5b8a7d0e462a.zip
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>
Diffstat (limited to 'target/linux/brcm63xx')
-rw-r--r--target/linux/brcm63xx/patches-4.4/321-irqchip-add-support-for-bcm6345-style-external-inter.patch2
1 files changed, 1 insertions, 1 deletions
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 2271b66f0e..5c735c85fa 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@openwrt.org>
+ break;
+
+ case IRQ_TYPE_EDGE_RISING:
++ sense = 1;
+ break;
+
+ case IRQ_TYPE_EDGE_FALLING:
-+ sense = 1;
+ break;
+
+ case IRQ_TYPE_LEVEL_HIGH: