summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-11-07 12:45:48 +0000
committerJohn Crispin <john@openwrt.org>2013-11-07 12:45:48 +0000
commit4bb29e9df63990153e8b0101021039cd27d387ad (patch)
tree1165c8a45d7abeb756ac5dcee0fb5a71a783922c /target
parent1a368e86168283b372939353b06f94ff951c7e1d (diff)
downloadmtk-20170518-4bb29e9df63990153e8b0101021039cd27d387ad.zip
mtk-20170518-4bb29e9df63990153e8b0101021039cd27d387ad.tar.gz
mtk-20170518-4bb29e9df63990153e8b0101021039cd27d387ad.tar.bz2
ralink: fix c&p error in gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 38668
Diffstat (limited to 'target')
-rw-r--r--target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch b/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
index 989d2f3..ffd360a 100644
--- a/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
+++ b/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
@@ -271,7 +271,7 @@ Cc: linux-gpio@vger.kernel.org
+ if ((rg->rising | rg->falling) & mask)
+ return 0;
+
-+ type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_RISING;
++ type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_FALLING;
+ }
+
+ if (type & IRQ_TYPE_EDGE_RISING)
@@ -279,7 +279,7 @@ Cc: linux-gpio@vger.kernel.org
+ else
+ rg->rising &= mask;
+
-+ if (type & IRQ_TYPE_EDGE_RISING)
++ if (type & IRQ_TYPE_EDGE_FALLING)
+ rg->falling |= mask;
+ else
+ rg->falling &= mask;