diff options
Diffstat (limited to 'drivers/media/video/usbvision/usbvision-video.c')
-rw-r--r-- | drivers/media/video/usbvision/usbvision-video.c | 8 |
1 files changed, 5 insertions, 3 deletions
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 | */ |
1950 | static void customdevice_process(void) | 1950 | static 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); |