diff options
author | John Crispin <blogic@openwrt.org> | 2013-12-09 17:29:24 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2013-12-09 17:29:24 +0000 |
commit | 9beda5ac3967acc4cc6076ca43ce86523c5d276e (patch) | |
tree | 8f880415637fca2c1d62fed7418b82237b82481a /target | |
parent | 4ad135094fe8570e11c34638fce73003f312fd2a (diff) | |
download | upstream-9beda5ac3967acc4cc6076ca43ce86523c5d276e.tar.gz upstream-9beda5ac3967acc4cc6076ca43ce86523c5d276e.tar.bz2 upstream-9beda5ac3967acc4cc6076ca43ce86523c5d276e.zip |
ralink: fix typo in gpio irq handling
Signed-off-by: John Crispin <blogic@openwrt.org>
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39018 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'target')
-rw-r--r-- | target/linux/ramips/patches-3.10/0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch | 4 |
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 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; +} |