[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)
commitb83bba24a29c44b696b5977e3874bc07b13dc3c0
tree0379cb6f3b164dc253713c14e9246d7acee5af43
parentaa3d17df6470338223f7ae6893647453e8f8e98e
[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