]> git.baikalelectronics.ru Git - kernel.git/commit
[media] uvcvideo: Implement vb2 queue start and stop stream operations
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Tue, 21 Oct 2014 16:03:08 +0000 (13:03 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Tue, 25 Nov 2014 10:40:08 +0000 (08:40 -0200)
commit793496e6d08569f7015613d3cc7fde84f8bdc440
treedc0d201f4b84a90de7faf132ccc61e4271829cc0
parentfca61fc794454a51453ed09d217560c0c0a7e425
[media] uvcvideo: Implement vb2 queue start and stop stream operations

To work propertly the videobuf2 core code needs to be in charge of
stream start/stop control. Implement the start_streaming and
stop_streaming vb2 operations and move video enable/disable code to
them.

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