Skip to content

Commit

Permalink
[media] af9035: add AVerMedia Twinstar (A825) [07ca:0825]
Browse files Browse the repository at this point in the history
[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>
  • Loading branch information
Pierangelo Terzulli authored and Mauro Carvalho Chehab committed Apr 9, 2012
1 parent de7f14f commit dbac01f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
10 changes: 9 additions & 1 deletion drivers/media/dvb/dvb-usb/af9035.c
Original file line number Diff line number Diff line change
Expand Up @@ -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[] = {
Expand All @@ -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)},
{},
};

Expand Down Expand Up @@ -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",
Expand All @@ -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],
},
},
}
},
Expand Down
1 change: 1 addition & 0 deletions drivers/media/dvb/dvb-usb/dvb-usb-ids.h
Original file line number Diff line number Diff line change
Expand Up @@ -228,6 +228,7 @@
#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
Expand Down

0 comments on commit dbac01f

Please sign in to comment.