diff options
author | Ricardo Cerqueira <v4l@cerqueira.org> | 2006-06-18 04:17:35 +0100 |
---|---|---|
committer | Ricardo Cerqueira <v4l@cerqueira.org> | 2006-06-18 04:17:35 +0100 |
commit | 16a939841722e3fe680364600031cb0ad064400c (patch) | |
tree | d1c5cbadd05aac98914f57e8da7723967a5d35fb /linux/drivers/media/video/cx88/cx88-input.c | |
parent | 33f52debf9c5638b0eded7614e77b57430a0a3fb (diff) | |
download | mediapointer-dvb-s2-16a939841722e3fe680364600031cb0ad064400c.tar.gz mediapointer-dvb-s2-16a939841722e3fe680364600031cb0ad064400c.tar.bz2 |
Fix card cx88 #50 remote
From: Ricardo Cerqueira <v4l@cerqueira.org>
There was an unmasked bit in the keycodes that was causing random
behaviour (the code could be N or N+1). Masked that bit now.
Signed-off-by: Ricardo Cerqueira <v4l@cerqueira.org>
Diffstat (limited to 'linux/drivers/media/video/cx88/cx88-input.c')
-rw-r--r-- | linux/drivers/media/video/cx88/cx88-input.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/linux/drivers/media/video/cx88/cx88-input.c b/linux/drivers/media/video/cx88/cx88-input.c index 9283be42d..0a98940f3 100644 --- a/linux/drivers/media/video/cx88/cx88-input.c +++ b/linux/drivers/media/video/cx88/cx88-input.c @@ -90,7 +90,7 @@ static void cx88_ir_handle_key(struct cx88_IR *ir) auxgpio = cx_read(MO_GP1_IO); /* Take out the parity part */ - gpio+=(auxgpio & 0xef); + gpio+=(gpio & 0x7fd) + (auxgpio & 0xef); } else auxgpio = gpio; |