summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorRicardo Cerqueira <v4l@cerqueira.org>2006-07-17 21:34:27 +0200
committerMauro Carvalho Chehab <mchehab@infradead.org>2006-07-29 22:22:19 +0200
commita62c61d3820417e8efac8796f0a46d7ab337af8d (patch)
tree3471ece78d554f972a70d89f5a02554ee2efb935 /drivers
parentV4L/DVB (4310): Saa7134: rename dmasound_{init, exit} (diff)
downloadlinux-a62c61d3820417e8efac8796f0a46d7ab337af8d.tar.xz
linux-a62c61d3820417e8efac8796f0a46d7ab337af8d.zip
V4L/DVB (4313): Bugfix for keycode calculation on NPG remotes
Fix keycode calculations (all codes for this remote were wrong due to a lost + sign) Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/video/cx88/cx88-input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/video/cx88/cx88-input.c b/drivers/media/video/cx88/cx88-input.c
index 72b630a91f41..c25564648993 100644
--- 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;