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

Commit 7ef736ef authored by qctecmdr Service's avatar qctecmdr Service Committed by Gerrit - the friendly Code Review server
Browse files

Merge "media: rc: GENI-IR controller driver"

parents 699acfcb 89c70fe8
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);
		}