[media] dw2102: add USB ID for Terratec Cinergy S2 Rev.3
authorOlli Salonen <olli.salonen@iki.fi>
Mon, 13 Jun 2016 14:04:50 +0000 (11:04 -0300)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Wed, 13 Jul 2016 15:24:48 +0000 (12:24 -0300)
Add the USB ID for Terratec Cinergy S2 Rev.3 (0ccd:0102).

Curiously dvb-usb-ids included already the USB ID for TERRATEC_CINERGY_S2_R3 even if the device was not supported.

Reported-by: Christian Knippel <namerp@googlemail.com>
Signed-off-by: Olli Salonen <olli.salonen@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/dvb-usb/dw2102.c

index 17d20121a44e3fc08bc520f757b0b1538b3c9605..5fb0c650926e3561684981013cc004a17975a290 100644 (file)
@@ -1641,6 +1641,7 @@ enum dw2102_table_entry {
        TEVII_S421,
        TEVII_S632,
        TERRATEC_CINERGY_S2_R2,
+       TERRATEC_CINERGY_S2_R3,
        GOTVIEW_SAT_HD,
        GENIATECH_T220,
        TECHNOTREND_S2_4600,
@@ -1669,6 +1670,7 @@ static struct usb_device_id dw2102_table[] = {
        [TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)},
        [TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)},
        [TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R2)},
+       [TERRATEC_CINERGY_S2_R3] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R3)},
        [GOTVIEW_SAT_HD] = {USB_DEVICE(0x1FE1, USB_PID_GOTVIEW_SAT_HD)},
        [GENIATECH_T220] = {USB_DEVICE(0x1f4d, 0xD220)},
        [TECHNOTREND_S2_4600] = {USB_DEVICE(USB_VID_TECHNOTREND,
@@ -2083,7 +2085,7 @@ static struct dvb_usb_device_properties su3000_properties = {
                }},
                }
        },
-       .num_device_descs = 5,
+       .num_device_descs = 6,
        .devices = {
                { "SU3000HD DVB-S USB2.0",
                        { &dw2102_table[GENIATECH_SU3000], NULL },
@@ -2101,6 +2103,10 @@ static struct dvb_usb_device_properties su3000_properties = {
                        { &dw2102_table[TERRATEC_CINERGY_S2_R2], NULL },
                        { NULL },
                },
+               { "Terratec Cinergy S2 USB HD Rev.3",
+                       { &dw2102_table[TERRATEC_CINERGY_S2_R3], NULL },
+                       { NULL },
+               },
                { "GOTVIEW Satellite HD",
                        { &dw2102_table[GOTVIEW_SAT_HD], NULL },
                        { NULL },