summary refs log tree commit diff
path: root/drivers/media/dvb/dvb-usb/af9015.c
diff options
context:
space:
mode:
authorAntti Palosaari <crope@iki.fi>2010-09-09 17:38:28 -0300
committerMauro Carvalho Chehab <mchehab@redhat.com>2010-10-21 01:05:52 -0200
commit2ec01b41e3e06bd22d8f6c7f330605b554e9b121 (patch)
treea0f0730a955a4963bd01180a873c461696773d99 /drivers/media/dvb/dvb-usb/af9015.c
parent86dcab644575693fac3552ba4a0d20b88ad43656 (diff)
downloadlinux-2ec01b41e3e06bd22d8f6c7f330605b554e9b121.tar.gz
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 <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/dvb/dvb-usb/af9015.c')
-rw-r--r--drivers/media/dvb/dvb-usb/af9015.c6
1 files 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) },
 	{ }
 };