]> 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)
commit83ecc5eb9a06317b3778c0ef3030c38fdfd08971
tree0379cb6f3b164dc253713c14e9246d7acee5af43
parent16fdcb27d1eccb6042c361cde966af691a97e7da
[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