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

Commit 39054f07 authored by Sean Young's avatar Sean Young Committed by Mauro Carvalho Chehab
Browse files

media: cx88: enable IR transmitter on HVR-1300



The HVR 1300 has a Z8F0811 IR device, which can do both IR transmit
and receive. The transmit part was not probed.

Signed-off-by: default avatarSean Young <sean@mess.org>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 877f1a7c
Loading
Loading
Loading
Loading
+3 −2
Original line number Diff line number Diff line
@@ -632,8 +632,9 @@ void cx88_i2c_init_ir(struct cx88_core *core)
		memset(&core->init_data, 0, sizeof(core->init_data));

		if (*addrp == 0x71) {
			/* Hauppauge XVR */
			core->init_data.name = "cx88 Hauppauge XVR remote";
			/* Hauppauge Z8F0811 */
			strlcpy(info.type, "ir_z8f0811_haup", I2C_NAME_SIZE);
			core->init_data.name = core->board.name;
			core->init_data.ir_codes = RC_MAP_HAUPPAUGE;
			core->init_data.type = RC_PROTO_BIT_RC5 |
				RC_PROTO_BIT_RC6_MCE | RC_PROTO_BIT_RC6_6A_32;