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

Commit 89c70fe8 authored by Naveen Mittal's avatar Naveen Mittal
Browse files

media: rc: GENI-IR controller driver



Adding NEC keymap support in GENI-IR controller driver

Change-Id: I79a3f6533f026c08d06c6462e8d06716ea9a804e
Signed-off-by: default avatarNaveen Mittal <namittal@codeaurora.org>
parent 12165278
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -728,8 +728,10 @@ static irqreturn_t geni_ir_interrupt(int irq, void *data)
		} else {
			/*NEC*/
			scancode = (rx_data & 0x0000FF);
			address2 = (rx_data & 0x00FF00);
			address1 = (rx_data & 0xFF0000);
			scancode = ~scancode;
			scancode = (scancode & 0x0000FF);
			address2 = (rx_data & 0x00FF0000);
			address1 = (rx_data & 0xFF000000);
			rc_keydown(ir->rcdev, RC_PROTO_NEC, scancode, 0);
		}