projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7845701
)
V4L/DVB (4313): Bugfix for keycode calculation on NPG remotes
author
Ricardo Cerqueira
<
[email protected]
>
Mon, 17 Jul 2006 19:34:27 +0000
(16:34 -0300)
committer
Mauro Carvalho Chehab
<
[email protected]
>
Sat, 29 Jul 2006 20:22:19 +0000
(17:22 -0300)
Fix keycode calculations (all codes for this remote were wrong due to a
lost + sign)
Signed-off-by: Ricardo Cerqueira <
[email protected]
>
Signed-off-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cx88/cx88-input.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx88/cx88-input.c
b/drivers/media/video/cx88/cx88-input.c
index 72b630a91f41e1aa06ed1e6ef6bf96d1001a34e6..c255646489933f19170ec466badc8d1c896693cf 100644
(file)
--- a/
drivers/media/video/cx88/cx88-input.c
+++ b/
drivers/media/video/cx88/cx88-input.c
@@
-89,7
+89,7
@@
static void cx88_ir_handle_key(struct cx88_IR *ir)
auxgpio = cx_read(MO_GP1_IO);
/* Take out the parity part */
- gpio
+
=(gpio & 0x7fd) + (auxgpio & 0xef);
+ gpio=(gpio & 0x7fd) + (auxgpio & 0xef);
} else
auxgpio = gpio;