Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a62c61d3 authored by Ricardo Cerqueira's avatar Ricardo Cerqueira Committed by Mauro Carvalho Chehab
Browse files

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: default avatarRicardo Cerqueira <v4l@cerqueira.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@infradead.org>
parent 78457018
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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;