aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2013-11-07 12:45:48 +0000
committerJohn Crispin <blogic@openwrt.org>2013-11-07 12:45:48 +0000
commit123cbcd063d31aec7604234b9ac9c69bf2ae2eb5 (patch)
tree1f7d940f5ea440a521f178075da87357d1d2e584 /target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
parent41d072938e8e0d22f1c80c70709a07e97200901f (diff)
downloadmaster-187ad058-123cbcd063d31aec7604234b9ac9c69bf2ae2eb5.tar.gz
master-187ad058-123cbcd063d31aec7604234b9ac9c69bf2ae2eb5.tar.bz2
master-187ad058-123cbcd063d31aec7604234b9ac9c69bf2ae2eb5.zip
ralink: fix c&p error in gpio driver
Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38668 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch')
-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 989d2f36d4..ffd360a2c2 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;