From: Ricardo Cerqueira Date: Mon, 17 Jul 2006 19:34:27 +0000 (-0300) Subject: V4L/DVB (4313): Bugfix for keycode calculation on NPG remotes X-Git-Tag: v2.6.18-rc4~72^2~16 X-Git-Url: https://git.karo-electronics.de/?a=commitdiff_plain;h=a62c61d3820417e8efac8796f0a46d7ab337af8d;p=karo-tx-linux.git 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 Signed-off-by: Mauro Carvalho Chehab --- 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;