[media] dt3155v4l: correctly start and stop streaming
authorHans Verkuil <hans.verkuil@cisco.com>
Sat, 25 Apr 2015 15:01:55 +0000 (12:01 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Fri, 1 May 2015 11:22:52 +0000 (08:22 -0300)
commit9db8baffbfdb863c8828c610db8857597d7a44ab
treeea35cae17de1f47375447b56bce7b0f5a09e664c
parenta6e951441406c3e9bc949251d6b1d70205eb6992
[media] dt3155v4l: correctly start and stop streaming

Don't start streaming when a buffer is queued, instead implement the
start_streaming op and do it there, leaving it up to the vb2 framework
to call start_streaming when enough buffers have been queued.

And don't stop streaming from within the interrupt routine, instead do
that in stop_streaming.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/staging/media/dt3155v4l/dt3155v4l.c
drivers/staging/media/dt3155v4l/dt3155v4l.h