projects
/
openwrt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ralink: fix c&p error in gpio driver
[openwrt.git]
/
target
/
linux
/
ramips
/
patches-3.10
/
0006-GPIO-MIPS-ralink-add-gpio-driver-for-ralink-SoC.patch
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
989d2f3
..
ffd360a
100644
(file)
--- 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;
+
+ if ((rg->rising | rg->falling) & mask)
+ return 0;
+
-+ type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_
RIS
ING;
++ type = IRQ_TYPE_EDGE_RISING | IRQ_TYPE_EDGE_
FALL
ING;
+ }
+
+ if (type & IRQ_TYPE_EDGE_RISING)
+ }
+
+ if (type & IRQ_TYPE_EDGE_RISING)
@@
-279,7
+279,7
@@
Cc: linux-gpio@vger.kernel.org
+ else
+ rg->rising &= mask;
+
+ else
+ rg->rising &= mask;
+
-+ if (type & IRQ_TYPE_EDGE_
RIS
ING)
++ if (type & IRQ_TYPE_EDGE_
FALL
ING)
+ rg->falling |= mask;
+ else
+ rg->falling &= mask;
+ rg->falling |= mask;
+ else
+ rg->falling &= mask;