Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 95cd5d5e authored by Ramakrishnan Muthukrishnan's avatar Ramakrishnan Muthukrishnan Committed by Mauro Carvalho Chehab
Browse files

[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: default avatarRamakrishnan Muthukrishnan <ramakrmu@cisco.com>
Reviewed-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarHans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: default avatarMauro Carvalho Chehab <m.chehab@samsung.com>
parent b7284bb0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -613,7 +613,6 @@ int saa7146_register_device(struct video_device **vid, struct saa7146_dev* dev,
	vfd->lock = &dev->v4l2_lock;
	vfd->v4l2_dev = &dev->v4l2_dev;
	vfd->tvnorms = 0;
	set_bit(V4L2_FL_USE_FH_PRIO, &vfd->flags);
	for (i = 0; i < dev->ext_vv_data->num_stds; i++)
		vfd->tvnorms |= dev->ext_vv_data->stds[i].id;
	strlcpy(vfd->name, name, sizeof(vfd->name));
+0 −1
Original line number Diff line number Diff line
@@ -990,7 +990,6 @@ static struct qcam *qcam_init(struct parport *port)
	qcam->vdev.fops = &qcam_fops;
	qcam->vdev.lock = &qcam->lock;
	qcam->vdev.ioctl_ops = &qcam_ioctl_ops;
	set_bit(V4L2_FL_USE_FH_PRIO, &qcam->vdev.flags);
	qcam->vdev.release = video_device_release_empty;
	video_set_drvdata(&qcam->vdev, qcam);

+0 −1
Original line number Diff line number Diff line
@@ -761,7 +761,6 @@ static struct qcam *qcam_init(struct parport *port)
	qcam->vdev.ioctl_ops = &qcam_ioctl_ops;
	qcam->vdev.release = video_device_release_empty;
	qcam->vdev.ctrl_handler = &qcam->hdl;
	set_bit(V4L2_FL_USE_FH_PRIO, &qcam->vdev.flags);
	video_set_drvdata(&qcam->vdev, qcam);

	mutex_init(&qcam->lock);
+0 −1
Original line number Diff line number Diff line
@@ -1091,7 +1091,6 @@ static int pms_probe(struct device *pdev, unsigned int card)
	dev->vdev.release = video_device_release_empty;
	dev->vdev.lock = &dev->lock;
	dev->vdev.tvnorms = V4L2_STD_NTSC | V4L2_STD_PAL | V4L2_STD_SECAM;
	set_bit(V4L2_FL_USE_FH_PRIO, &dev->vdev.flags);
	video_set_drvdata(&dev->vdev, dev);
	dev->std = V4L2_STD_NTSC_M;
	dev->height = 240;
+0 −1
Original line number Diff line number Diff line
@@ -883,7 +883,6 @@ static int w9966_init(struct w9966 *cam, struct parport *port)
	cam->vdev.ioctl_ops = &w9966_ioctl_ops;
	cam->vdev.release = video_device_release_empty;
	cam->vdev.ctrl_handler = &cam->hdl;
	set_bit(V4L2_FL_USE_FH_PRIO, &cam->vdev.flags);
	video_set_drvdata(&cam->vdev, cam);

	mutex_init(&cam->lock);
Loading