From: John Crispin Date: Mon, 9 Dec 2013 17:29:24 +0000 (+0000) Subject: ralink: fix typo in gpio irq handling X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=09a933ed7364ac8dfd2e16a08f05356c09c75ae5;p=openwrt%2Fstaging%2Fnbd.git ralink: fix typo in gpio irq handling Signed-off-by: John Crispin SVN-Revision: 39018 --- 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 ffd360a2c2..fd7f7f4f03 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; +}