media: dvb-usb: Add Hauppauge MAX S2's USB-IDs
authorKai Muenz <squ@tent.at>
Tue, 6 Oct 2020 18:13:09 +0000 (20:13 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Thu, 26 Nov 2020 13:26:43 +0000 (14:26 +0100)
Hauppauge MAX S2 or WinTV NOVA HD USB2.0.

Signed-off-by: Kai Muenz <squ@tent.at>
Signed-off-by: Sean Young <sean@mess.org>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/usb/dvb-usb/dw2102.c

index a27a684..f0e686b 100644 (file)
@@ -1770,6 +1770,7 @@ enum dw2102_table_entry {
        TEVII_S660,
        PROF_7500,
        GENIATECH_SU3000,
+       HAUPPAUGE_MAX_S2,
        TERRATEC_CINERGY_S2,
        TEVII_S480_1,
        TEVII_S480_2,
@@ -1802,6 +1803,7 @@ static struct usb_device_id dw2102_table[] = {
        [TEVII_S660] = {USB_DEVICE(0x9022, USB_PID_TEVII_S660)},
        [PROF_7500] = {USB_DEVICE(0x3034, 0x7500)},
        [GENIATECH_SU3000] = {USB_DEVICE(0x1f4d, 0x3000)},
+       [HAUPPAUGE_MAX_S2] = {USB_DEVICE(0x2040, 0xd900)},
        [TERRATEC_CINERGY_S2] = {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_S2_R1)},
        [TEVII_S480_1] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_1)},
        [TEVII_S480_2] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_2)},
@@ -2230,12 +2232,16 @@ static struct dvb_usb_device_properties su3000_properties = {
                }},
                }
        },
-       .num_device_descs = 8,
+       .num_device_descs = 9,
        .devices = {
                { "SU3000HD DVB-S USB2.0",
                        { &dw2102_table[GENIATECH_SU3000], NULL },
                        { NULL },
                },
+               { "Hauppauge MAX S2 or WinTV NOVA HD USB2.0",
+                       { &dw2102_table[HAUPPAUGE_MAX_S2], NULL },
+                       { NULL },
+               },
                { "Terratec Cinergy S2 USB HD",
                        { &dw2102_table[TERRATEC_CINERGY_S2], NULL },
                        { NULL },