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

Commit 2ec01b41 authored by Antti Palosaari's avatar Antti Palosaari Committed by Mauro Carvalho Chehab
Browse files

V4L/DVB: af9015: map TerraTec Cinergy T Stick Dual RC remote to device ID



Detect TerraTec Cinergy T Stick Dual RC	remote config using device
USB ID instead of device EEPROM hash. It was found that there is
devices	with slightly different EEPROM content...

Signed-off-by: default avatarAntti Palosaari <crope@iki.fi>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent 86dcab64
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -788,6 +788,9 @@ static const struct af9015_setup af9015_setup_usbids[] = {
	{ USB_VID_MSI_2,
		ir_codes_af9015_table_msi_digivox_iii, ARRAY_SIZE(ir_codes_af9015_table_msi_digivox_iii),
		af9015_ir_table_msi_digivox_iii, ARRAY_SIZE(af9015_ir_table_msi_digivox_iii) },
	{ USB_VID_TERRATEC,
		ir_codes_terratec, ARRAY_SIZE(ir_codes_terratec),
		af9015_ir_terratec, ARRAY_SIZE(af9015_ir_terratec) },
	{ }
};

@@ -801,9 +804,6 @@ static const struct af9015_setup af9015_setup_hashes[] = {
	{ 0x9b7dc64e,
		ir_codes_af9015_table_mygictv, ARRAY_SIZE(ir_codes_af9015_table_mygictv),
		af9015_ir_table_mygictv, ARRAY_SIZE(af9015_ir_table_mygictv) },
	{ 0x14e89ffe,
		ir_codes_terratec, ARRAY_SIZE(ir_codes_terratec),
		af9015_ir_terratec, ARRAY_SIZE(af9015_ir_terratec) },
	{ }
};