Skip to content

Commit

Permalink
V4L/DVB (4313): Bugfix for keycode calculation on NPG remotes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Ricardo Cerqueira authored and Mauro Carvalho Chehab committed Jul 29, 2006
1 parent 7845701 commit a62c61d
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+=(gpio & 0x7fd) + (auxgpio & 0xef);
gpio=(gpio & 0x7fd) + (auxgpio & 0xef);
} else
auxgpio = gpio;

Expand Down

0 comments on commit a62c61d

Please sign in to comment.