aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 13:58:58 -0400
committerMauro Carvalho Chehab <mchehab@infradead.org>2008-07-27 17:07:50 -0400
commit10ac6603613d46a43a4544fbbe9581e50879bd45 (patch)
tree857987542eb360626689190c0cc519c395e0e6ad /drivers/media
parentd3603341e2f3c39f017f8df4b1cd734aeb0d453b (diff)
V4L/DVB (8541): em28xx: HVR-950 entry is duplicated.
Thanks to "Devin Heitmueller" <devin.heitmueller@gmail.com> for pointing this issue. Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/em28xx/em28xx-cards.c37
-rw-r--r--drivers/media/video/em28xx/em28xx-dvb.c2
-rw-r--r--drivers/media/video/em28xx/em28xx.h5
3 files changed, 11 insertions, 33 deletions
diff --git a/drivers/media/video/em28xx/em28xx-cards.c b/drivers/media/video/em28xx/em28xx-cards.c
index 766b0bed7e7f..2064f7203376 100644
--- a/drivers/media/video/em28xx/em28xx-cards.c
+++ b/drivers/media/video/em28xx/em28xx-cards.c
@@ -606,7 +606,7 @@ struct em28xx_board em28xx_boards[] = {
606 .amux = 1, 606 .amux = 1,
607 } }, 607 } },
608 }, 608 },
609 [EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950] = { 609 [EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950] = {
610 .name = "Hauppauge WinTV HVR 950", 610 .name = "Hauppauge WinTV HVR 950",
611 .vchannels = 3, 611 .vchannels = 3,
612 .tda9887_conf = TDA9887_PRESENT, 612 .tda9887_conf = TDA9887_PRESENT,
@@ -1093,26 +1093,6 @@ struct em28xx_board em28xx_boards[] = {
1093 .amux = 1, 1093 .amux = 1,
1094 } }, 1094 } },
1095 }, 1095 },
1096 [EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950] = {
1097 .name = "Hauppauge WinTV HVR 950",
1098 .valid = EM28XX_BOARD_NOT_VALIDATED,
1099 .vchannels = 3,
1100 .tuner_type = TUNER_XC2028,
1101 .decoder = EM28XX_TVP5150,
1102 .input = { {
1103 .type = EM28XX_VMUX_TELEVISION,
1104 .vmux = TVP5150_COMPOSITE0,
1105 .amux = 0,
1106 }, {
1107 .type = EM28XX_VMUX_COMPOSITE1,
1108 .vmux = TVP5150_COMPOSITE1,
1109 .amux = 1,
1110 }, {
1111 .type = EM28XX_VMUX_SVIDEO,
1112 .vmux = TVP5150_SVIDEO,
1113 .amux = 1,
1114 } },
1115 },
1116 [EM2883_BOARD_KWORLD_HYBRID_A316] = { 1096 [EM2883_BOARD_KWORLD_HYBRID_A316] = {
1117 .name = "Kworld PlusTV HD Hybrid 330", 1097 .name = "Kworld PlusTV HD Hybrid 330",
1118 .valid = EM28XX_BOARD_NOT_VALIDATED, 1098 .valid = EM28XX_BOARD_NOT_VALIDATED,
@@ -1222,13 +1202,13 @@ struct usb_device_id em28xx_id_table [] = {
1222 { USB_DEVICE(0x2040, 0x6502), 1202 { USB_DEVICE(0x2040, 0x6502),
1223 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 }, 1203 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 },
1224 { USB_DEVICE(0x2040, 0x6513), /* HCW HVR-980 */ 1204 { USB_DEVICE(0x2040, 0x6513), /* HCW HVR-980 */
1225 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 }, 1205 .driver_info = EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 },
1226 { USB_DEVICE(0x2040, 0x6517), /* HP HVR-950 */ 1206 { USB_DEVICE(0x2040, 0x6517), /* HP HVR-950 */
1227 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 }, 1207 .driver_info = EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 },
1228 { USB_DEVICE(0x2040, 0x651b), /* RP HVR-950 */ 1208 { USB_DEVICE(0x2040, 0x651b), /* RP HVR-950 */
1229 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 }, 1209 .driver_info = EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 },
1230 { USB_DEVICE(0x2040, 0x651f), /* HCW HVR-850 */ 1210 { USB_DEVICE(0x2040, 0x651f), /* HCW HVR-850 */
1231 .driver_info = EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 }, 1211 .driver_info = EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 },
1232 { USB_DEVICE(0x0438, 0xb002), 1212 { USB_DEVICE(0x0438, 0xb002),
1233 .driver_info = EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 }, 1213 .driver_info = EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600 },
1234 { USB_DEVICE(0x2001, 0xf112), 1214 { USB_DEVICE(0x2001, 0xf112),
@@ -1401,10 +1381,9 @@ void em28xx_pre_card_setup(struct em28xx *dev)
1401 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: 1381 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
1402 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2: 1382 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2:
1403 case EM2860_BOARD_TERRATEC_HYBRID_XS: 1383 case EM2860_BOARD_TERRATEC_HYBRID_XS:
1404 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: 1384 case EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950:
1405 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO: 1385 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO:
1406 case EM2882_BOARD_PINNACLE_HYBRID_PRO: 1386 case EM2882_BOARD_PINNACLE_HYBRID_PRO:
1407 case EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950:
1408 case EM2883_BOARD_KWORLD_HYBRID_A316: 1387 case EM2883_BOARD_KWORLD_HYBRID_A316:
1409 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600: 1388 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600:
1410 em28xx_write_regs(dev, EM28XX_R0F_XCLK, "\x27", 1); 1389 em28xx_write_regs(dev, EM28XX_R0F_XCLK, "\x27", 1);
@@ -1595,7 +1574,7 @@ static void em28xx_setup_xc3028(struct em28xx *dev, struct xc2028_ctrl *ctl)
1595 /* djh - Not sure which demod we need here */ 1574 /* djh - Not sure which demod we need here */
1596 ctl->demod = XC3028_FE_DEFAULT; 1575 ctl->demod = XC3028_FE_DEFAULT;
1597 break; 1576 break;
1598 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: 1577 case EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950:
1599 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO: 1578 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO:
1600 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600: 1579 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600:
1601 /* FIXME: Better to specify the needed IF */ 1580 /* FIXME: Better to specify the needed IF */
@@ -1778,7 +1757,7 @@ void em28xx_card_setup(struct em28xx *dev)
1778 case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2: 1757 case EM2820_BOARD_HAUPPAUGE_WINTV_USB_2:
1779 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900: 1758 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900:
1780 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2: 1759 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2:
1781 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: 1760 case EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950:
1782 { 1761 {
1783 struct tveeprom tv; 1762 struct tveeprom tv;
1784#ifdef CONFIG_MODULES 1763#ifdef CONFIG_MODULES
diff --git a/drivers/media/video/em28xx/em28xx-dvb.c b/drivers/media/video/em28xx/em28xx-dvb.c
index 31475a245716..4b992bc0083c 100644
--- a/drivers/media/video/em28xx/em28xx-dvb.c
+++ b/drivers/media/video/em28xx/em28xx-dvb.c
@@ -410,7 +410,7 @@ static int dvb_init(struct em28xx *dev)
410 em28xx_set_mode(dev, EM28XX_DIGITAL_MODE); 410 em28xx_set_mode(dev, EM28XX_DIGITAL_MODE);
411 /* init frontend */ 411 /* init frontend */
412 switch (dev->model) { 412 switch (dev->model) {
413 case EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950: 413 case EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950:
414 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO: 414 case EM2880_BOARD_PINNACLE_PCTV_HD_PRO:
415 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600: 415 case EM2880_BOARD_AMD_ATI_TV_WONDER_HD_600:
416 dvb->frontend = dvb_attach(lgdt330x_attach, 416 dvb->frontend = dvb_attach(lgdt330x_attach,
diff --git a/drivers/media/video/em28xx/em28xx.h b/drivers/media/video/em28xx/em28xx.h
index 746a7acaf9d0..dc2019a844ec 100644
--- a/drivers/media/video/em28xx/em28xx.h
+++ b/drivers/media/video/em28xx/em28xx.h
@@ -54,7 +54,7 @@
54#define EM2880_BOARD_TERRATEC_PRODIGY_XS 13 54#define EM2880_BOARD_TERRATEC_PRODIGY_XS 13
55#define EM2820_BOARD_PROLINK_PLAYTV_USB2 14 55#define EM2820_BOARD_PROLINK_PLAYTV_USB2 14
56#define EM2800_BOARD_VGEAR_POCKETTV 15 56#define EM2800_BOARD_VGEAR_POCKETTV 15
57#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_950 16 57#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 16
58#define EM2880_BOARD_PINNACLE_PCTV_HD_PRO 17 58#define EM2880_BOARD_PINNACLE_PCTV_HD_PRO 17
59#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18 59#define EM2880_BOARD_HAUPPAUGE_WINTV_HVR_900_R2 18
60#define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19 60#define EM2860_BOARD_POINTNIX_INTRAORAL_CAMERA 19
@@ -96,8 +96,7 @@
96#define EM2882_BOARD_TERRATEC_HYBRID_XS 55 96#define EM2882_BOARD_TERRATEC_HYBRID_XS 55
97#define EM2882_BOARD_PINNACLE_HYBRID_PRO 56 97#define EM2882_BOARD_PINNACLE_HYBRID_PRO 56
98#define EM2883_BOARD_KWORLD_HYBRID_A316 57 98#define EM2883_BOARD_KWORLD_HYBRID_A316 57
99#define EM2883_BOARD_HAUPPAUGE_WINTV_HVR_950 58 99#define EM2820_BOARD_COMPRO_VIDEO_MATE 58
100#define EM2820_BOARD_COMPRO_VIDEO_MATE 59
101 100
102/* Limits minimum and default number of buffers */ 101/* Limits minimum and default number of buffers */
103#define EM28XX_MIN_BUF 4 102#define EM28XX_MIN_BUF 4