[media] af9035: add AVerMedia Twinstar (A825) [07ca:0825]
authorPierangelo Terzulli <pierigno@gmail.com>
Fri, 6 Apr 2012 00:26:18 +0000 (21:26 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 9 Apr 2012 17:55:59 +0000 (14:55 -0300)
[crope@iki.fi: applied manually since erroneous patch]
Signed-off-by: Pierangelo Terzulli <pierigno@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/dvb/dvb-usb/af9035.c
drivers/media/dvb/dvb-usb/dvb-usb-ids.h

index 5ae5cc1..9503b2d 100644 (file)
@@ -923,6 +923,7 @@ enum af9035_id_entry {
        AF9035_07CA_B835,
        AF9035_07CA_1867,
        AF9035_07CA_A867,
+       AF9035_07CA_0825,
 };
 
 static struct usb_device_id af9035_id[] = {
@@ -940,6 +941,8 @@ static struct usb_device_id af9035_id[] = {
                USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_1867)},
        [AF9035_07CA_A867] = {
                USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A867)},
+       [AF9035_07CA_0825] = {
+               USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_TWINSTAR)},
        {},
 };
 
@@ -982,7 +985,7 @@ static struct dvb_usb_device_properties af9035_properties[] = {
 
                .i2c_algo = &af9035_i2c_algo,
 
-               .num_device_descs = 4,
+               .num_device_descs = 5,
                .devices = {
                        {
                                .name = "TerraTec Cinergy T Stick",
@@ -1007,6 +1010,11 @@ static struct dvb_usb_device_properties af9035_properties[] = {
                                        &af9035_id[AF9035_07CA_1867],
                                        &af9035_id[AF9035_07CA_A867],
                                },
+                       }, {
+                               .name = "AVerMedia Twinstar (A825)",
+                               .cold_ids = {
+                                       &af9035_id[AF9035_07CA_0825],
+                               },
                        },
                }
        },
index 6a761c5..94d3f8a 100644 (file)
 #define USB_PID_AVERMEDIA_B835                         0xb835
 #define USB_PID_AVERMEDIA_1867                         0x1867
 #define USB_PID_AVERMEDIA_A867                         0xa867
+#define USB_PID_AVERMEDIA_TWINSTAR                     0x0825
 #define USB_PID_TECHNOTREND_CONNECT_S2400               0x3006
 #define USB_PID_TECHNOTREND_CONNECT_CT3650             0x300d
 #define USB_PID_TERRATEC_CINERGY_DT_XS_DIVERSITY       0x005a