diff options
author | Hans de Goede <hdegoede@redhat.com> | 2011-12-31 07:45:39 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2012-01-06 10:46:05 -0200 |
commit | a08d2c727153dc6cea1d5d54a43fd7d69c1467c3 (patch) | |
tree | c0834f885ee7719aba20faabee3960c05f7d8473 /drivers/media/video/pwc/pwc-if.c | |
parent | dc8a7e83aaf8bb1bcf7163bda8926a6dd29c409b (diff) | |
download | op-kernel-dev-a08d2c727153dc6cea1d5d54a43fd7d69c1467c3.zip op-kernel-dev-a08d2c727153dc6cea1d5d54a43fd7d69c1467c3.tar.gz |
[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.c | 10 |
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); |