]> git.karo-electronics.de Git - linux-beck.git/commitdiff
[media] saa7134: use unlocked_ioctl instead of ioctl
authorHans Verkuil <hverkuil@xs4all.nl>
Mon, 16 Jun 2014 07:32:37 +0000 (04:32 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Thu, 19 Jun 2014 16:14:51 +0000 (13:14 -0300)
The saa7134 driver uses core-locking, so there is no longer any need
to use the ioctl op instead of the unlocked_ioctl op. This change
was forgotten for the saa7134-empress.c, so fix this.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/pci/saa7134/saa7134-empress.c

index e65c760e4e8bbc5df3da9d4fa970d003d6e0cc66..0006d6bf8c18a5015dea50cbd4e0386802b80bc6 100644 (file)
@@ -179,7 +179,7 @@ static const struct v4l2_file_operations ts_fops =
        .read     = vb2_fop_read,
        .poll     = vb2_fop_poll,
        .mmap     = vb2_fop_mmap,
-       .ioctl    = video_ioctl2,
+       .unlocked_ioctl = video_ioctl2,
 };
 
 static const struct v4l2_ioctl_ops ts_ioctl_ops = {