summaryrefslogtreecommitdiff
path: root/target
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2013-12-09 17:29:24 +0000
committerJohn Crispin <john@openwrt.org>2013-12-09 17:29:24 +0000
commit09a933ed7364ac8dfd2e16a08f05356c09c75ae5 (patch)
treef1788124912bda0d4590475dc513b1a7dd3f75a4 /target
parenta65c9e5b20ddc081670991658659feb9c1e9f0ba (diff)
downloadmtk-20170518-09a933ed7364ac8dfd2e16a08f05356c09c75ae5.zip
mtk-20170518-09a933ed7364ac8dfd2e16a08f05356c09c75ae5.tar.gz
mtk-20170518-09a933ed7364ac8dfd2e16a08f05356c09c75ae5.tar.bz2
ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 39018
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 ffd360a..fd7f7f4 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
@@ -277,12 +277,12 @@ Cc: linux-gpio@vger.kernel.org
+ if (type & IRQ_TYPE_EDGE_RISING)
+ rg->rising |= mask;
+ else
-+ rg->rising &= mask;
++ rg->rising &= ~mask;
+
+ if (type & IRQ_TYPE_EDGE_FALLING)
+ rg->falling |= mask;
+ else
-+ rg->falling &= mask;
++ rg->falling &= ~mask;
+
+ return 0;
+}