]> git.baikalelectronics.ru Git - kernel.git/commit
[media] uvcvideo: Separate video and queue enable/disable operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 13 Oct 2014 13:11:35 +0000 (10:11 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:39:14 +0000 (08:39 -0200)
commitb398789b5a8ae85c30e2066b3b5141cf5e43c2af
tree0379cb6f3b164dc253713c14e9246d7acee5af43
parent668f220b386df378f59f56dc1d2627f607c5de2a
[media] uvcvideo: Separate video and queue enable/disable operations

In order to make use of the vb2 queue start/stop_streaming operations
the video and queue enable/disable operations need to be split, as the
vb2 queue will need to enable and disable video instead of the other way
around.

Also move buffer queue disable outside of uvc_video_resume() to remove
all queue disable operations out of uvc_video.c.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/usb/uvc/uvc_driver.c
drivers/media/usb/uvc/uvc_v4l2.c
drivers/media/usb/uvc/uvc_video.c