diff options
author | Ramakrishnan Muthukrishnan <ramakrmu@cisco.com> | 2014-06-19 13:22:58 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <m.chehab@samsung.com> | 2014-07-04 15:14:59 -0400 |
commit | 95cd5d5ee67c2108765ae87d34761d54fd6671ce (patch) | |
tree | c0f2f37178ab8a57f142522bf8d1a7b6a1ca36c1 /drivers/media/usb/cx231xx | |
parent | b7284bb0be49441805ae7db0fc419ab7ee882bff (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/cx231xx')
-rw-r--r-- | drivers/media/usb/cx231xx/cx231xx-417.c | 1 | ||||
-rw-r--r-- | drivers/media/usb/cx231xx/cx231xx-video.c | 1 |
2 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/usb/cx231xx/cx231xx-417.c b/drivers/media/usb/cx231xx/cx231xx-417.c index 30a0c69fb42f..f0400e260eb7 100644 --- a/drivers/media/usb/cx231xx/cx231xx-417.c +++ b/drivers/media/usb/cx231xx/cx231xx-417.c | |||
@@ -1923,7 +1923,6 @@ static struct video_device *cx231xx_video_dev_alloc( | |||
1923 | vfd->v4l2_dev = &dev->v4l2_dev; | 1923 | vfd->v4l2_dev = &dev->v4l2_dev; |
1924 | vfd->lock = &dev->lock; | 1924 | vfd->lock = &dev->lock; |
1925 | vfd->release = video_device_release; | 1925 | vfd->release = video_device_release; |
1926 | set_bit(V4L2_FL_USE_FH_PRIO, &vfd->flags); | ||
1927 | vfd->ctrl_handler = &dev->mpeg_ctrl_handler.hdl; | 1926 | vfd->ctrl_handler = &dev->mpeg_ctrl_handler.hdl; |
1928 | video_set_drvdata(vfd, dev); | 1927 | video_set_drvdata(vfd, dev); |
1929 | if (dev->tuner_type == TUNER_ABSENT) { | 1928 | if (dev->tuner_type == TUNER_ABSENT) { |
diff --git a/drivers/media/usb/cx231xx/cx231xx-video.c b/drivers/media/usb/cx231xx/cx231xx-video.c index cba7fea3c6cd..ae31ca2fc9a1 100644 --- a/drivers/media/usb/cx231xx/cx231xx-video.c +++ b/drivers/media/usb/cx231xx/cx231xx-video.c | |||
@@ -2065,7 +2065,6 @@ static struct video_device *cx231xx_vdev_init(struct cx231xx *dev, | |||
2065 | vfd->release = video_device_release; | 2065 | vfd->release = video_device_release; |
2066 | vfd->debug = video_debug; | 2066 | vfd->debug = video_debug; |
2067 | vfd->lock = &dev->lock; | 2067 | vfd->lock = &dev->lock; |
2068 | set_bit(V4L2_FL_USE_FH_PRIO, &vfd->flags); | ||
2069 | 2068 | ||
2070 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); | 2069 | snprintf(vfd->name, sizeof(vfd->name), "%s %s", dev->name, type_name); |
2071 | 2070 | ||