OSDN Git Service

[media] v4l: omap3isp: Move starting the sensor from streamon IOCTL handler to VB2 QOP
authorSakari Ailus <sakari.ailus@iki.fi>
Thu, 18 Sep 2014 21:57:48 +0000 (18:57 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Mon, 25 Jan 2016 10:26:23 +0000 (08:26 -0200)
commit35c5f63773f77a4bfcc3010f6bcc84bdb74c8954
treeaf54ea094e942b81a638284638d5032d30148099
parent8163ec29c4c2911291d6fb2e9d5b171e17ce4f43
[media] v4l: omap3isp: Move starting the sensor from streamon IOCTL handler to VB2 QOP

Move the starting of the sensor from the VIDIOC_STREAMON handler to the
videobuf2 queue op start_streaming. This avoids failing starting the stream
after vb2_streamon() has already finished.

Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/platform/omap3isp/ispvideo.c