aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/usb/uvc/uvc_driver.c
diff options
context:
space:
mode:
authorRamakrishnan Muthukrishnan <ramakrmu@cisco.com>2014-06-19 13:22:58 -0400
committerMauro Carvalho Chehab <m.chehab@samsung.com>2014-07-04 15:14:59 -0400
commit95cd5d5ee67c2108765ae87d34761d54fd6671ce (patch)
treec0f2f37178ab8a57f142522bf8d1a7b6a1ca36c1 /drivers/media/usb/uvc/uvc_driver.c
parentb7284bb0be49441805ae7db0fc419ab7ee882bff (diff)
[media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO
Since all the drivers that use `struct v4l2_fh' use the core priority checking, the setting of the flag in the drivers can be removed. Signed-off-by: Ramakrishnan Muthukrishnan <ramakrmu@cisco.com> Reviewed-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers/media/usb/uvc/uvc_driver.c')
-rw-r--r--drivers/media/usb/uvc/uvc_driver.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/usb/uvc/uvc_driver.c b/drivers/media/usb/uvc/uvc_driver.c
index ad47c5cb539a..f8135f4e3b52 100644
--- a/drivers/media/usb/uvc/uvc_driver.c
+++ b/drivers/media/usb/uvc/uvc_driver.c
@@ -1746,7 +1746,6 @@ static int uvc_register_video(struct uvc_device *dev,
1746 vdev->fops = &uvc_fops; 1746 vdev->fops = &uvc_fops;
1747 vdev->release = uvc_release; 1747 vdev->release = uvc_release;
1748 vdev->prio = &stream->chain->prio; 1748 vdev->prio = &stream->chain->prio;
1749 set_bit(V4L2_FL_USE_FH_PRIO, &vdev->flags);
1750 if (stream->type == V4L2_BUF_TYPE_VIDEO_OUTPUT) 1749 if (stream->type == V4L2_BUF_TYPE_VIDEO_OUTPUT)
1751 vdev->vfl_dir = VFL_DIR_TX; 1750 vdev->vfl_dir = VFL_DIR_TX;
1752 strlcpy(vdev->name, dev->name, sizeof vdev->name); 1751 strlcpy(vdev->name, dev->name, sizeof vdev->name);