V4L/DVB: af9015: map TerraTec Cinergy T Stick Dual RC remote to device ID
authorAntti Palosaari <crope@iki.fi>
Thu, 9 Sep 2010 20:38:28 +0000 (17:38 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:05:52 +0000 (01:05 -0200)
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>
drivers/media/dvb/dvb-usb/af9015.c

index cb4b62a0fb44e2ba6b950f4920314bec9f02bc00..bf6ff2bb95c56de2604eee359646c95fc5edd905 100644 (file)
@@ -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) },
        { }
 };