[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)
commita11a03e50b73234444f7d439fb8ee6eaec3cffd1
treedc0d201f4b84a90de7faf132ccc61e4271829cc0
parentbc75d5a0097b4100b4a4e06db62b2afb80d96393
[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