diff options
-rw-r--r-- | drivers/media/dvb/dvb-usb/af9015.c | 14 | ||||
-rw-r--r-- | drivers/media/dvb/dvb-usb/dvb-usb-ids.h | 1 |
2 files changed, 12 insertions, 3 deletions
diff --git a/drivers/media/dvb/dvb-usb/af9015.c b/drivers/media/dvb/dvb-usb/af9015.c index f63cb18b37f6..8c073ab30832 100644 --- a/drivers/media/dvb/dvb-usb/af9015.c +++ b/drivers/media/dvb/dvb-usb/af9015.c | |||
@@ -966,9 +966,11 @@ error: | |||
966 | err("eeprom read failed:%d", ret); | 966 | err("eeprom read failed:%d", ret); |
967 | 967 | ||
968 | /* AverMedia AVerTV Volar Black HD (A850) device have bad EEPROM | 968 | /* AverMedia AVerTV Volar Black HD (A850) device have bad EEPROM |
969 | content :-( Override some wrong values here. */ | 969 | content :-( Override some wrong values here. Ditto for the |
970 | AVerTV Red HD+ (A850T) device. */ | ||
970 | if (le16_to_cpu(udev->descriptor.idVendor) == USB_VID_AVERMEDIA && | 971 | if (le16_to_cpu(udev->descriptor.idVendor) == USB_VID_AVERMEDIA && |
971 | le16_to_cpu(udev->descriptor.idProduct) == USB_PID_AVERMEDIA_A850) { | 972 | ((le16_to_cpu(udev->descriptor.idProduct) == USB_PID_AVERMEDIA_A850) || |
973 | (le16_to_cpu(udev->descriptor.idProduct) == USB_PID_AVERMEDIA_A850T))) { | ||
972 | deb_info("%s: AverMedia A850: overriding config\n", __func__); | 974 | deb_info("%s: AverMedia A850: overriding config\n", __func__); |
973 | /* disable dual mode */ | 975 | /* disable dual mode */ |
974 | af9015_config.dual_mode = 0; | 976 | af9015_config.dual_mode = 0; |
@@ -1299,6 +1301,7 @@ static struct usb_device_id af9015_usb_table[] = { | |||
1299 | {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK_RC)}, | 1301 | {USB_DEVICE(USB_VID_TERRATEC, USB_PID_TERRATEC_CINERGY_T_STICK_RC)}, |
1300 | {USB_DEVICE(USB_VID_TERRATEC, | 1302 | {USB_DEVICE(USB_VID_TERRATEC, |
1301 | USB_PID_TERRATEC_CINERGY_T_STICK_DUAL_RC)}, | 1303 | USB_PID_TERRATEC_CINERGY_T_STICK_DUAL_RC)}, |
1304 | /* 35 */{USB_DEVICE(USB_VID_AVERMEDIA, USB_PID_AVERMEDIA_A850T)}, | ||
1302 | {0}, | 1305 | {0}, |
1303 | }; | 1306 | }; |
1304 | MODULE_DEVICE_TABLE(usb, af9015_usb_table); | 1307 | MODULE_DEVICE_TABLE(usb, af9015_usb_table); |
@@ -1361,7 +1364,7 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1361 | 1364 | ||
1362 | .i2c_algo = &af9015_i2c_algo, | 1365 | .i2c_algo = &af9015_i2c_algo, |
1363 | 1366 | ||
1364 | .num_device_descs = 11, /* check max from dvb-usb.h */ | 1367 | .num_device_descs = 12, /* check max from dvb-usb.h */ |
1365 | .devices = { | 1368 | .devices = { |
1366 | { | 1369 | { |
1367 | .name = "Afatech AF9015 DVB-T USB2.0 stick", | 1370 | .name = "Afatech AF9015 DVB-T USB2.0 stick", |
@@ -1423,6 +1426,11 @@ static struct dvb_usb_device_properties af9015_properties[] = { | |||
1423 | .cold_ids = {&af9015_usb_table[34], NULL}, | 1426 | .cold_ids = {&af9015_usb_table[34], NULL}, |
1424 | .warm_ids = {NULL}, | 1427 | .warm_ids = {NULL}, |
1425 | }, | 1428 | }, |
1429 | { | ||
1430 | .name = "AverMedia AVerTV Red HD+ (A850T)", | ||
1431 | .cold_ids = {&af9015_usb_table[35], NULL}, | ||
1432 | .warm_ids = {NULL}, | ||
1433 | }, | ||
1426 | } | 1434 | } |
1427 | }, { | 1435 | }, { |
1428 | .caps = DVB_USB_IS_AN_I2C_ADAPTER, | 1436 | .caps = DVB_USB_IS_AN_I2C_ADAPTER, |
diff --git a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h index 436d53dda1c7..cc398ecb5b09 100644 --- a/drivers/media/dvb/dvb-usb/dvb-usb-ids.h +++ b/drivers/media/dvb/dvb-usb/dvb-usb-ids.h | |||
@@ -198,6 +198,7 @@ | |||
198 | #define USB_PID_AVERMEDIA_A309 0xa309 | 198 | #define USB_PID_AVERMEDIA_A309 0xa309 |
199 | #define USB_PID_AVERMEDIA_A310 0xa310 | 199 | #define USB_PID_AVERMEDIA_A310 0xa310 |
200 | #define USB_PID_AVERMEDIA_A850 0x850a | 200 | #define USB_PID_AVERMEDIA_A850 0x850a |
201 | #define USB_PID_AVERMEDIA_A850T 0x850b | ||
201 | #define USB_PID_AVERMEDIA_A805 0xa805 | 202 | #define USB_PID_AVERMEDIA_A805 0xa805 |
202 | #define USB_PID_AVERMEDIA_A815M 0x815a | 203 | #define USB_PID_AVERMEDIA_A815M 0x815a |
203 | #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 | 204 | #define USB_PID_TECHNOTREND_CONNECT_S2400 0x3006 |