summaryrefslogtreecommitdiff
path: root/drivers/media/video/pwc/pwc-if.c
diff options
context:
space:
mode:
authorHans de Goede <hdegoede@redhat.com>2011-12-31 10:45:39 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2012-01-06 12:46:05 (GMT)
commita08d2c727153dc6cea1d5d54a43fd7d69c1467c3 (patch)
treec0834f885ee7719aba20faabee3960c05f7d8473 /drivers/media/video/pwc/pwc-if.c
parentdc8a7e83aaf8bb1bcf7163bda8926a6dd29c409b (diff)
downloadlinux-fsl-qoriq-a08d2c727153dc6cea1d5d54a43fd7d69c1467c3.tar.xz
[media] pwc: Remove driver specific ioctls
This stems from the v4l1 era, with v4l2 everything can be done with standardized v4l2 API calls. Signed-off-by: Hans de Goede <hdegoede@redhat.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/video/pwc/pwc-if.c')
-rw-r--r--drivers/media/video/pwc/pwc-if.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/drivers/media/video/pwc/pwc-if.c b/drivers/media/video/pwc/pwc-if.c
index a66f60c..963b4a5 100644
--- a/drivers/media/video/pwc/pwc-if.c
+++ b/drivers/media/video/pwc/pwc-if.c
@@ -1058,16 +1058,6 @@ static int usb_pwc_probe(struct usb_interface *intf, const struct usb_device_id
pdev->vframes = default_fps;
strcpy(pdev->serial, serial_number);
pdev->features = features;
- if (vendor_id == 0x046D && product_id == 0x08B5) {
- /* Logitech QuickCam Orbit
- The ranges have been determined experimentally; they may differ from cam to cam.
- Also, the exact ranges left-right and up-down are different for my cam
- */
- pdev->angle_range.pan_min = -7000;
- pdev->angle_range.pan_max = 7000;
- pdev->angle_range.tilt_min = -3000;
- pdev->angle_range.tilt_max = 2500;
- }
pwc_construct(pdev); /* set min/max sizes correct */
mutex_init(&pdev->capt_file_lock);