Sfoglia il codice sorgente

[media] saa7134: use unlocked_ioctl instead of ioctl

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>
Hans Verkuil 11 anni fa
parent
commit
13936af3d2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      drivers/media/pci/saa7134/saa7134-empress.c

+ 1 - 1
drivers/media/pci/saa7134/saa7134-empress.c

@@ -179,7 +179,7 @@ static const struct v4l2_file_operations ts_fops =
 	.read	  = vb2_fop_read,
 	.read	  = vb2_fop_read,
 	.poll	  = vb2_fop_poll,
 	.poll	  = vb2_fop_poll,
 	.mmap	  = vb2_fop_mmap,
 	.mmap	  = vb2_fop_mmap,
-	.ioctl	  = video_ioctl2,
+	.unlocked_ioctl = video_ioctl2,
 };
 };
 
 
 static const struct v4l2_ioctl_ops ts_ioctl_ops = {
 static const struct v4l2_ioctl_ops ts_ioctl_ops = {