Commit a1d27a4b authored by Laurent Pinchart's avatar Laurent Pinchart Committed by Felipe Balbi

usb: gadget: f_uvc: Move to video_ioctl2

Simplify ioctl handling by using video_ioctl2.
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: default avatarAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: default avatarFelipe Balbi <balbi@ti.com>
parent 26a029f2
...@@ -414,7 +414,9 @@ uvc_register_video(struct uvc_device *uvc) ...@@ -414,7 +414,9 @@ uvc_register_video(struct uvc_device *uvc)
video->v4l2_dev = &uvc->v4l2_dev; video->v4l2_dev = &uvc->v4l2_dev;
video->fops = &uvc_v4l2_fops; video->fops = &uvc_v4l2_fops;
video->ioctl_ops = &uvc_v4l2_ioctl_ops;
video->release = video_device_release; video->release = video_device_release;
video->vfl_dir = VFL_DIR_TX;
strlcpy(video->name, cdev->gadget->name, sizeof(video->name)); strlcpy(video->name, cdev->gadget->name, sizeof(video->name));
uvc->vdev = video; uvc->vdev = video;
......
This diff is collapsed.
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment