From: blogic Date: Thu, 7 Nov 2013 12:45:48 +0000 (+0000) Subject: ralink: fix c&p error in gpio driver X-Git-Url: https://git.archive.openwrt.org/?p=openwrt.git;a=commitdiff_plain;h=791df9b1c6f4c8e2e64577e03820ae3f884eba06 ralink: fix c&p error in gpio driver Signed-off-by: John Crispin git-svn-id: svn://svn.openwrt.org/openwrt/trunk@38668 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- 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;