Skip to content

Commit

Permalink
V4L/DVB (4130): Fix card cx88 #50 remote
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
  • Loading branch information
Ricardo Cerqueira authored and Mauro Carvalho Chehab committed Jun 25, 2006
1 parent 8ca4deb commit c2eaa68
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/media/video/cx88/cx88-input.c
Original file line number Diff line number Diff line change
Expand Up @@ -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+=(auxgpio & 0xef);
gpio+=(gpio & 0x7fd) + (auxgpio & 0xef);
} else
auxgpio = gpio;

Expand Down

0 comments on commit c2eaa68

Please sign in to comment.