From 2ec01b41e3e06bd22d8f6c7f330605b554e9b121 Mon Sep 17 00:00:00 2001 From: Antti Palosaari Date: Thu, 9 Sep 2010 17:38:28 -0300 Subject: [PATCH] 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: Antti Palosaari Signed-off-by: Mauro Carvalho Chehab --- drivers/media/dvb/dvb-usb/af9015.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index cb4b62a0fb44..bf6ff2bb95c5 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c @@ -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) }, { } }; -- GitLab