aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 23:19:20 -0400
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-07-06 23:19:20 -0400
commitb7e386360922a15f943b2fbe8d77a19bb86f2e6f (patch)
treefe0b93cfd27f50a1c127f5135c5c567a33e866c0 /drivers/media
parent563cd5cec48b1cad04397a13dec0a2ab666ea95c (diff)
media: Revert "[media] Terratec Cinergy S2 USB HD Rev.2"
This reverts commit 03228792df67a6ae231960151b8a5c87e17a73e2. drivers/media/dvb/dvb-usb/dw2102.c:1478:18: error: ‘USB_PID_TEVII_S421’ undeclared here (not in a function) drivers/media/dvb/dvb-usb/dw2102.c:1479:18: error: ‘USB_PID_TEVII_S632’ undeclared here (not in a function) Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/dvb/dvb-usb/dw2102.c19
1 files changed, 1 insertions, 18 deletions
diff --git a/drivers/media/dvb/dvb-usb/dw2102.c b/drivers/media/dvb/dvb-usb/dw2102.c
index 7c37a566c55d..9382895b1b88 100644
--- a/drivers/media/dvb/dvb-usb/dw2102.c
+++ b/drivers/media/dvb/dvb-usb/dw2102.c
@@ -1182,13 +1182,6 @@ static int su3000_frontend_attach(struct dvb_usb_adapter *d)
1182 err("command 0x0e transfer failed."); 1182 err("command 0x0e transfer failed.");
1183 1183
1184 obuf[0] = 0xe; 1184 obuf[0] = 0xe;
1185 obuf[1] = 0x02;
1186 obuf[2] = 1;
1187
1188 if (dvb_usb_generic_rw(d->dev, obuf, 3, ibuf, 1, 0) < 0)
1189 err("command 0x0e transfer failed.");
1190
1191 obuf[0] = 0xe;
1192 obuf[1] = 0x83; 1185 obuf[1] = 0x83;
1193 obuf[2] = 0; 1186 obuf[2] = 0;
1194 1187
@@ -1454,9 +1447,6 @@ enum dw2102_table_entry {
1454 TEVII_S480_1, 1447 TEVII_S480_1,
1455 TEVII_S480_2, 1448 TEVII_S480_2,
1456 X3M_SPC1400HD, 1449 X3M_SPC1400HD,
1457 TEVII_S421,
1458 TEVII_S632,
1459 TERRATEC_CINERGY_S2_R2,
1460}; 1450};
1461 1451
1462static struct usb_device_id dw2102_table[] = { 1452static struct usb_device_id dw2102_table[] = {
@@ -1475,9 +1465,6 @@ static struct usb_device_id dw2102_table[] = {
1475 [TEVII_S480_1] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_1)}, 1465 [TEVII_S480_1] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_1)},
1476 [TEVII_S480_2] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_2)}, 1466 [TEVII_S480_2] = {USB_DEVICE(0x9022, USB_PID_TEVII_S480_2)},
1477 [X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)}, 1467 [X3M_SPC1400HD] = {USB_DEVICE(0x1f4d, 0x3100)},
1478 [TEVII_S421] = {USB_DEVICE(0x9022, USB_PID_TEVII_S421)},
1479 [TEVII_S632] = {USB_DEVICE(0x9022, USB_PID_TEVII_S632)},
1480 [TERRATEC_CINERGY_S2_R2] = {USB_DEVICE(USB_VID_TERRATEC, 0x00b0)},
1481 { } 1468 { }
1482}; 1469};
1483 1470
@@ -1866,7 +1853,7 @@ static struct dvb_usb_device_properties su3000_properties = {
1866 }}, 1853 }},
1867 } 1854 }
1868 }, 1855 },
1869 .num_device_descs = 4, 1856 .num_device_descs = 3,
1870 .devices = { 1857 .devices = {
1871 { "SU3000HD DVB-S USB2.0", 1858 { "SU3000HD DVB-S USB2.0",
1872 { &dw2102_table[GENIATECH_SU3000], NULL }, 1859 { &dw2102_table[GENIATECH_SU3000], NULL },
@@ -1880,10 +1867,6 @@ static struct dvb_usb_device_properties su3000_properties = {
1880 { &dw2102_table[X3M_SPC1400HD], NULL }, 1867 { &dw2102_table[X3M_SPC1400HD], NULL },
1881 { NULL }, 1868 { NULL },
1882 }, 1869 },
1883 { "Terratec Cinergy S2 USB HD Rev.2",
1884 { &dw2102_table[TERRATEC_CINERGY_S2_R2], NULL },
1885 { NULL },
1886 },
1887 } 1870 }
1888}; 1871};
1889 1872