projects
/
openwrt
/
svn-archive
/
openwrt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25e94cb
)
Ignore false button events generated by switch gpio use
author
Mike Baker
<mbm@openwrt.org>
Fri, 1 Dec 2006 22:31:11 +0000
(22:31 +0000)
committer
Mike Baker
<mbm@openwrt.org>
Fri, 1 Dec 2006 22:31:11 +0000
(22:31 +0000)
SVN-Revision: 5687
openwrt/target/linux/package/diag/src/diag.c
patch
|
blob
|
history
diff --git
a/openwrt/target/linux/package/diag/src/diag.c
b/openwrt/target/linux/package/diag/src/diag.c
index e2e772c490f7f56ff843dfbcf57d2671adcfc72c..0b445f8c22f92b1067229016479c8143cbf37b65 100644
(file)
--- a/
openwrt/target/linux/package/diag/src/diag.c
+++ b/
openwrt/target/linux/package/diag/src/diag.c
@@
-584,6
+584,8
@@
static void button_handler(int irq, void *dev_id, struct pt_regs *regs)
changed = platform.button_polarity ^ in;
platform.button_polarity = in;
+ changed &= ~sb_gpioouten(sbh, 0, 0);
+
for (b = platform.buttons; b->name; b++) {
struct event_t *event;