aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media')
-rw-r--r--drivers/media/video/usbvision/usbvision-cards.c3
-rw-r--r--drivers/media/video/usbvision/usbvision-video.c8
-rw-r--r--drivers/media/video/usbvision/usbvision.h6
3 files changed, 8 insertions, 9 deletions
diff --git a/drivers/media/video/usbvision/usbvision-cards.c b/drivers/media/video/usbvision/usbvision-cards.c
index c63048da9713..4ba96349e76b 100644
--- a/drivers/media/video/usbvision/usbvision-cards.c
+++ b/drivers/media/video/usbvision/usbvision-cards.c
@@ -1137,7 +1137,6 @@ struct usbvision_device_data_st usbvision_device_data[] = {
1137 .Dvi_yuv = -1, 1137 .Dvi_yuv = -1,
1138 .ModelString = "Hauppauge WinTv-USB", 1138 .ModelString = "Hauppauge WinTv-USB",
1139 }, 1139 },
1140 {} /* Terminating entry */
1141}; 1140};
1142 1141
1143/* Supported Devices */ 1142/* Supported Devices */
@@ -1208,8 +1207,6 @@ struct usb_device_id usbvision_table [] = {
1208 { USB_DEVICE(0x2304, 0x0301), .driver_info=PINNA_LINX_VD_IN_CAB_PAL }, 1207 { USB_DEVICE(0x2304, 0x0301), .driver_info=PINNA_LINX_VD_IN_CAB_PAL },
1209 { USB_DEVICE(0x2304, 0x0419), .driver_info=PINNA_PCTV_BUNGEE_PAL_FM }, 1208 { USB_DEVICE(0x2304, 0x0419), .driver_info=PINNA_PCTV_BUNGEE_PAL_FM },
1210 { USB_DEVICE(0x2400, 0x4200), .driver_info=HPG_WINTV }, 1209 { USB_DEVICE(0x2400, 0x4200), .driver_info=HPG_WINTV },
1211
1212 { } /* Terminating entry */
1213}; 1210};
1214 1211
1215MODULE_DEVICE_TABLE (usb, usbvision_table); 1212MODULE_DEVICE_TABLE (usb, usbvision_table);
diff --git a/drivers/media/video/usbvision/usbvision-video.c b/drivers/media/video/usbvision/usbvision-video.c
index 22c2889d3b5c..49281ffa84cb 100644
--- a/drivers/media/video/usbvision/usbvision-video.c
+++ b/drivers/media/video/usbvision/usbvision-video.c
@@ -1949,7 +1949,7 @@ static struct usb_driver usbvision_driver = {
1949 */ 1949 */
1950static void customdevice_process(void) 1950static void customdevice_process(void)
1951{ 1951{
1952 unsigned int id_vend,id_prod; 1952 unsigned int id_vend,id_prod,radio,tuner;
1953 1953
1954 usbvision_device_data[0]=usbvision_device_data[1]; 1954 usbvision_device_data[0]=usbvision_device_data[1];
1955 usbvision_table[0]=usbvision_table[1]; 1955 usbvision_table[0]=usbvision_table[1];
@@ -2030,10 +2030,12 @@ static void customdevice_process(void)
2030 sscanf(parse,"%d",&usbvision_device_data[0].AudioChannels); 2030 sscanf(parse,"%d",&usbvision_device_data[0].AudioChannels);
2031 goto2next(parse); 2031 goto2next(parse);
2032 PDEBUG(DBG_PROBE, "AudioChannels=%d", usbvision_device_data[0].AudioChannels); 2032 PDEBUG(DBG_PROBE, "AudioChannels=%d", usbvision_device_data[0].AudioChannels);
2033 sscanf(parse,"%d",&usbvision_device_data[0].Radio); 2033 sscanf(parse,"%d",&radio);
2034 usbvision_device_data[0].Radio=(radio?1:0);
2034 goto2next(parse); 2035 goto2next(parse);
2035 PDEBUG(DBG_PROBE, "Radio=%d", usbvision_device_data[0].Radio); 2036 PDEBUG(DBG_PROBE, "Radio=%d", usbvision_device_data[0].Radio);
2036 sscanf(parse,"%d",&usbvision_device_data[0].Tuner); 2037 sscanf(parse,"%d",&tuner);
2038 usbvision_device_data[0].Tuner=(tuner?1:0);
2037 goto2next(parse); 2039 goto2next(parse);
2038 PDEBUG(DBG_PROBE, "Tuner=%d", usbvision_device_data[0].Tuner); 2040 PDEBUG(DBG_PROBE, "Tuner=%d", usbvision_device_data[0].Tuner);
2039 sscanf(parse,"%d",&usbvision_device_data[0].TunerType); 2041 sscanf(parse,"%d",&usbvision_device_data[0].TunerType);
diff --git a/drivers/media/video/usbvision/usbvision.h b/drivers/media/video/usbvision/usbvision.h
index 4639f3485e76..b4412a5014ad 100644
--- a/drivers/media/video/usbvision/usbvision.h
+++ b/drivers/media/video/usbvision/usbvision.h
@@ -347,9 +347,9 @@ struct usbvision_device_data_st {
347 int VideoChannels; 347 int VideoChannels;
348 __u64 VideoNorm; 348 __u64 VideoNorm;
349 int AudioChannels; 349 int AudioChannels;
350 int Radio; 350 int Radio:1;
351 int vbi; 351 int vbi:1;
352 int Tuner; 352 int Tuner:1;
353 int TunerType; 353 int TunerType;
354 int Vin_Reg1; 354 int Vin_Reg1;
355 int Vin_Reg2; 355 int Vin_Reg2;